Module: LiteLogger
- Defined in:
- lib/lite_logger.rb,
lib/lite_logger/logger.rb,
lib/lite_logger/version.rb
Defined Under Namespace
Constant Summary collapse
- VERSION =
'0.1.7'
Class Attribute Summary collapse
-
.logger ⇒ Object
Returns the value of attribute logger.
Class Method Summary collapse
Class Attribute Details
.logger ⇒ Object
Returns the value of attribute logger.
10 11 12 |
# File 'lib/lite_logger.rb', line 10 def logger @logger end |
Class Method Details
.configure {|self.logger ||= LiteLogger::Logger.new| ... } ⇒ Object
12 13 14 |
# File 'lib/lite_logger.rb', line 12 def configure yield self.logger ||= LiteLogger::Logger.new end |