| Module | R10K::Logging |
| In: |
lib/r10k/logging/terminaloutputter.rb
lib/r10k/logging.rb |
| LOG_LEVELS | = | %w{DEBUG2 DEBUG1 DEBUG INFO NOTICE WARN ERROR FATAL} |
| formatter | [R] |
@!attribute [r] formatter
@api private @return [Log4r::Formatter] |
| level | [R] |
@!attribute [r] level
@return [Integer] The current log level. Lower numbers correspond
to more verbose log levels.
|
| outputter | [R] |
@!attribute [r] outputter
@api private @return [Log4r::Outputter] |
Convert the input to a valid Log4r log level
@param input [String, TrueClass] The level to parse. If TrueClass then
Log4r::INFO will be returned (indicating a generic raised verbosity), if a string it will be parsed either as a numeric value or a textual log level.
@api private @return [Integer, NilClass] The numeric log level, or nil if the log
level is invalid.