class Logger
Public Instance Methods
trace(progname = nil, &block)
click to toggle source
# File lib/collins/monkeypatch.rb, line 11 def trace(progname = nil, &block) add(TRACE, nil, progname, &block) end
trace?()
click to toggle source
# File lib/collins/monkeypatch.rb, line 9 def trace?; @level <= TRACE; end
Private Instance Methods
format_severity(severity)
click to toggle source
# File lib/collins/monkeypatch.rb, line 16 def format_severity severity if severity == TRACE then 'TRACE' else SEV_LABEL[severity] || 'ANY' end end