module Mixlib::Log::Logging
Constants
- LEVELS
- LEVEL_NAMES
- SEV_LABEL
- TRACE
Attributes
metadata[RW]
Public Instance Methods
pass(severity, args, progname = nil, data: {}) { || ... }
click to toggle source
# File lib/mixlib/log/logging.rb, line 37 def pass(severity, args, progname = nil, data: {}, &block) args, progname, data = yield if block_given? add(severity, args, progname, data: data) end
to_label(sev)
click to toggle source
# File lib/mixlib/log/logging.rb, line 28 def to_label(sev) SEV_LABEL[sev + 1] || -"ANY" end