Class: WideEvent::Sinks::LogLine
- Inherits:
-
Object
- Object
- WideEvent::Sinks::LogLine
- Defined in:
- lib/wide_event/sinks/log_line.rb
Overview
Emits the wide event as one JSON log line: the canonical-log-line deployment for apps that don't run tracing.
Instance Method Summary collapse
- #flush(attrs) ⇒ Object
-
#initialize(logger = nil) ⇒ LogLine
constructor
A new instance of LogLine.
Constructor Details
#initialize(logger = nil) ⇒ LogLine
Returns a new instance of LogLine.
9 10 11 |
# File 'lib/wide_event/sinks/log_line.rb', line 9 def initialize(logger = nil) @logger = logger end |