Class: Composer::ComposerLogger
- Inherits:
-
Object
- Object
- Composer::ComposerLogger
- Extended by:
- Forwardable
- Defined in:
- lib/composer/logger.rb
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ ComposerLogger
constructor
A new instance of ComposerLogger.
Constructor Details
#initialize(args = {}) ⇒ ComposerLogger
Returns a new instance of ComposerLogger.
12 13 14 15 |
# File 'lib/composer/logger.rb', line 12 def initialize(args = {}) @log_level = args[:log_level] ||= 'info' @logger = args[:logger] ||= new_logger(args) end |