Class: StdErrLogger

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

Overview

A logger class that outputs to $stderr.

Instance Method Summary collapse

Methods inherited from StdLogger

#print

Methods inherited from LoggerBase

#print

Constructor Details

#initialize(config) ⇒ StdErrLogger

Initializes this object.



52
53
54
# File 'lib/debugtrace/loggers.rb', line 52

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

Instance Method Details

#to_sObject

Returns a string representation of this object.

Returns:

  • String: A string representation of this object



58
59
60
# File 'lib/debugtrace/loggers.rb', line 58

def to_s
  '$stderr logger'
end