Class: Logger
- Inherits:
-
Object
- Object
- Logger
- Defined in:
- lib/collins/monkeypatch.rb
Defined Under Namespace
Modules: Severity
Instance Method Summary collapse
Instance Method Details
#trace(progname = nil, &block) ⇒ Object
11 12 13 |
# File 'lib/collins/monkeypatch.rb', line 11 def trace(progname = nil, &block) add(TRACE, nil, progname, &block) end |
#trace? ⇒ Boolean
9 |
# File 'lib/collins/monkeypatch.rb', line 9 def trace?; @level <= TRACE; end |