Class: DatadogLogger
- Inherits:
-
Object
- Object
- DatadogLogger
- Defined in:
- lib/datadog_metrics/logger.rb
Overview
Datadoglogger is designed to be used in Development mode and will log the metrics that would have been sent to datadog without the need to run dogstatsd locally.
Instance Method Summary collapse
-
#initialize(target) ⇒ DatadogLogger
constructor
A new instance of DatadogLogger.
Constructor Details
#initialize(target) ⇒ DatadogLogger
Returns a new instance of DatadogLogger.
12 13 14 |
# File 'lib/datadog_metrics/logger.rb', line 12 def initialize(target) @target = target end |