Method: CliUI::Loggable.logger_for
- Defined in:
- lib/cli_ui/loggable.rb
.logger_for(classname) ⇒ Object
Return the logger for a specific Class. If the instance is not found, creates it.
41 42 43 |
# File 'lib/cli_ui/loggable.rb', line 41 def logger_for(classname) @loggers[classname] ||= configure_logger_for(classname) end |