Class: Rex::Logging::Sinks::Stdout

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

Overview

This class implements the LogSink interface and backs it against stdout

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) ⇒ Stdout

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



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

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