Module: Yake::Logger
- Defined in:
- lib/yake/logger.rb
Defined Under Namespace
Classes: Formatter
Instance Attribute Summary collapse
-
#logger ⇒ Object
Returns the value of attribute logger.
Class Method Summary collapse
Instance Attribute Details
#logger ⇒ Object
Returns the value of attribute logger.
8 9 10 |
# File 'lib/yake/logger.rb', line 8 def logger @logger end |
Class Method Details
.new(logdev = $stdout) ⇒ Object
15 16 17 |
# File 'lib/yake/logger.rb', line 15 def new(logdev = $stdout) ::Logger.new(logdev, progname: "-", formatter: Formatter.new) end |