OpenTelemetry PHP

LoggerTest extends TestCase
in package

Tags
psalm-suppress

UndefinedInterfaceMethod

Attributes
#[CoversClass]
\OpenTelemetry\SDK\Logs\Logger::class

Table of Contents

Properties

$logWriter  : LogWriterInterface|MockObject
$processor  : LogRecordProcessorInterface
$scope  : InstrumentationScope
$sharedState  : LoggerSharedState

Methods

setUp()  : void
tearDown()  : void
test_does_not_log_if_disabled()  : void
test_enabled()  : void
test_log_record()  : void
test_logs_dropped_attributes()  : void
test_sets_observed_timestamp_on_emit()  : void

Properties

Methods

test_does_not_log_if_disabled()

public test_does_not_log_if_disabled() : void

test_log_record()

public test_log_record() : void

test_logs_dropped_attributes()

public test_logs_dropped_attributes() : void

test_sets_observed_timestamp_on_emit()

public test_sets_observed_timestamp_on_emit() : void

        
On this page

Search results