Class: Rex::Logging::Sinks::Stderr

Inherits:
Stream
  • Object
show all
Defined in:
lib/rex/logging/sinks/stderr.rb

Overview

This class implements the LogSink interface and backs it against stderr

Instance Attribute Summary

Attributes inherited from Stream

#stream

Instance Method Summary collapse

Methods inherited from Stream

#cleanup, #log, #log_code_for

Methods included from LogSink

#cleanup, #get_current_timestamp, #log

Constructor Details

#initialize(*_attrs) ⇒ Stderr

Creates a log sink instance that will be configured to log to stderr


15
16
17
# File 'lib/rex/logging/sinks/stderr.rb', line 15

def initialize(*_attrs)
  super($stderr)
end