Module: Console::Output::Datadog
- Defined in:
- lib/console/output/datadog.rb,
lib/console/output/datadog/version.rb,
lib/console/output/datadog/wrapper.rb
Overview
The reason why this is a serialized logger rather than an output filter, is because it needs to directly modify the top level of the record.
Defined Under Namespace
Classes: Wrapper
Constant Summary collapse
- VERSION =
"0.1.0"
Class Method Summary collapse
Class Method Details
.new(output, **options) ⇒ Object
35 36 37 38 39 40 41 |
# File 'lib/console/output/datadog.rb', line 35 def self.new(output, **) if Object.const_defined?(:Datadog) Wrapper.new(output) else output end end |