Class: Logger
- Inherits:
-
Object
- Object
- Logger
- Defined in:
- lib/franz/logger.rb
Overview
Extending the Logger with TRACE capabilities
Direct Known Subclasses
Constant Summary collapse
- TRACE =
N.B. TRACE is above other levels
SEV_LABEL.index('TRACE')
Instance Method Summary collapse
-
#trace(progname, &block) ⇒ Object
Send a TRACE-level log line.
Instance Method Details
#trace(progname, &block) ⇒ Object
Send a TRACE-level log line
14 15 16 |
# File 'lib/franz/logger.rb', line 14 def trace progname, &block add TRACE, nil, progname, &block if @trace end |