Class: HomeQ::Base::Logging::Logger
- Inherits:
-
Object
- Object
- HomeQ::Base::Logging::Logger
- Includes:
- Configuration, Singleton
- Defined in:
- lib/homeq/base/logger.rb
Constant Summary collapse
- PAT =
"%d %l %c %m"
Instance Method Summary collapse
-
#with_warnings_suppressed ⇒ Object
begin block.
Methods included from Configuration
Instance Method Details
#with_warnings_suppressed ⇒ Object
begin block
168 169 170 171 172 173 174 |
# File 'lib/homeq/base/logger.rb', line 168 def with_warnings_suppressed saved_verbosity = $-v $-v = nil yield ensure $-v = saved_verbosity end |