Class: Klogger::Abstract
- Inherits:
-
Object
- Object
- Klogger::Abstract
- Defined in:
- lib/klogger/formatters/abstract.rb
Direct Known Subclasses
Instance Method Summary collapse
- #call(_severity, _time, _progname, _payload) ⇒ Object
-
#initialize(highlight: false) ⇒ Abstract
constructor
A new instance of Abstract.
Constructor Details
#initialize(highlight: false) ⇒ Abstract
Returns a new instance of Abstract.
6 7 8 |
# File 'lib/klogger/formatters/abstract.rb', line 6 def initialize(highlight: false) @highlight = highlight end |
Instance Method Details
#call(_severity, _time, _progname, _payload) ⇒ Object
10 11 12 |
# File 'lib/klogger/formatters/abstract.rb', line 10 def call(_severity, _time, _progname, _payload) 'no formatter' end |