Class: Datadog::Core::Configuration::Settings::DSL::Diagnostics::StartupLogs

Inherits:
Object
  • Object
show all
Defined in:
lib/datadog/core/configuration/settings.rb

Overview

Tracer startup debug log statement configuration.

Instance Attribute Summary collapse

Instance Attribute Details

#enabledBoolean?

Enable startup logs collection.

If nil, defaults to logging startup logs when ddtrace detects that the application is not running in a development environment.

Returns:

  • (Boolean, nil)

Defaults to:

  • DD_TRACE_STARTUP_LOGS environment variable, otherwise nil



146
147
148
# File 'lib/datadog/core/configuration/settings.rb', line 146

def enabled
  @enabled
end