Method: RrxLogging::Logger#initialize

Defined in:
lib/rrx_logging/logger.rb

#initialize(mode = :json, name: nil, tags: nil, progname: nil) ⇒ Logger

Returns a new instance of Logger.



7
8
9
10
11
12
# File 'lib/rrx_logging/logger.rb', line 7

def initialize(mode = :json, name: nil, tags: nil, progname: nil)
  super($stdout, progname: name || progname)
  self.formatter = Formatter.new(mode, tags:)
  @silencers     = []
  @filters       = []
end