Class: StdOutLogger

Inherits:
StdLogger show all
Defined in:
lib/debugtrace/loggers.rb

Overview

A logger class that outputs to $stdout.

Instance Method Summary collapse

Methods inherited from StdLogger

#print

Methods inherited from LoggerBase

#print

Constructor Details

#initialize(config) ⇒ StdOutLogger

Initializes this object.



38
39
40
# File 'lib/debugtrace/loggers.rb', line 38

def initialize(config)
  super(config, $stdout)
end

Instance Method Details

#to_sObject

Returns a string representation of this object.

Returns:

  • String: A string representation of this object



44
45
46
# File 'lib/debugtrace/loggers.rb', line 44

def to_s
  '$stdout logger'
end