Class: Klogger::Abstract

Inherits:
Object
  • Object
show all
Defined in:
lib/klogger/formatters/abstract.rb

Instance Method Summary collapse

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