Class: ManageIQ::Loggers::Container

Inherits:
JSONLogger show all
Defined in:
lib/manageiq/loggers/container.rb

Constant Summary

Constants inherited from Base

Base::MAX_LOG_LINE_LENGTH

Instance Attribute Summary

Attributes inherited from Base

#logdev

Instance Method Summary collapse

Methods inherited from Base

#level, #log_backtrace, log_hashes, #log_hashes, log_hashes_filter, #log_hashes_filter, log_hashes_filter=, #log_hashes_filter=, #silence

Constructor Details

#initialize(logdev = $stdout, *_, **_) ⇒ Container

Returns a new instance of Container.



4
5
6
7
# File 'lib/manageiq/loggers/container.rb', line 4

def initialize(logdev = $stdout, *_, **_)
  logdev.sync = true # Don't buffer container log output
  super
end

Instance Method Details

#filenameObject



9
10
11
# File 'lib/manageiq/loggers/container.rb', line 9

def filename
  "STDOUT"
end