Module: Hypertrace::Logging
- Included in:
- Config::Config, Config::Environment, Instrumentation::DataCapture, RubyAgent, OpenTelemetry::Instrumentation::Faraday::Middlewares::TracerMiddleware, OpenTelemetry::Instrumentation::Rack::Middlewares::TracerMiddleware
- Defined in:
- lib/hypertrace/logging.rb
Instance Method Summary collapse
Instance Method Details
#log ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/hypertrace/logging.rb', line 5 def log @_logger ||= begin l = Logger.new(STDOUT) l.level = get_level l.progname = 'Hypertrace' l end end |