Class: Cri::CommandDSL
- Inherits:
-
Object
- Object
- Cri::CommandDSL
- Includes:
- R10K::Logging
- Defined in:
- lib/r10k/cli/ext/logging.rb
Constant Summary
Constants included from R10K::Logging
Instance Method Summary collapse
Methods included from R10K::Logging
formatter, included, level, level=, levels, #logger_name, outputter, parse_level
Instance Method Details
#logger ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/r10k/cli/ext/logging.rb', line 8 def logger unless @logger @logger = Log4r::Logger.new(@command.name) @logger.add R10K::Logging.outputter end @logger end |