class SentryConfig

internal  
 

Constants

private BREADCRUMB_DEFAULTS

private TRACING_DEFAULTS

Methods

__construct(Repository $config, string $root)

Create a new Sentry configuration reader.

bool
hasDsnSet()

Determine if a DSN is configured.

bool
hasSpotlightEnabled()

Determine if Spotlight is enabled.

bool
canRecordSpans()

Determine if the SDK can record spans.

bool
canRecordBreadcrumbs()

Determine if the SDK can record breadcrumbs.

array
all()

Retrieve the merged Sentry configuration.

Details

at line 49
__construct(Repository $config, string $root)

Create a new Sentry configuration reader.

Parameters

Repository $config
string $root

at line 58
bool hasDsnSet()

Determine if a DSN is configured.

Return Value

bool

at line 66
bool hasSpotlightEnabled()

Determine if Spotlight is enabled.

Return Value

bool

at line 74
bool canRecordSpans()

Determine if the SDK can record spans.

Return Value

bool

at line 92
bool canRecordBreadcrumbs()

Determine if the SDK can record breadcrumbs.

Return Value

bool

at line 105
array all()

Retrieve the merged Sentry configuration.

Return Value

array