EventLoggerTest
extends TestCase
in package
Attributes
- #[CoversClass]
- \OpenTelemetry\SDK\Logs\EventLogger::class
Table of Contents
Properties
- $clock : TestClock
- $eventLoggerProvider : EventLoggerProvider
- $logger : LoggerInterface|MockObject
Methods
- setUp() : void
- test_default_values() : void
- test_emit() : void
- test_event_name_attribute_is_ignored() : void
- "The user provided Attributes MUST not take over the event.name attribute"
Properties
$clock
private
TestClock
$clock
$eventLoggerProvider
private
EventLoggerProvider
$eventLoggerProvider
$logger
private
LoggerInterface|MockObject
$logger
Methods
setUp()
public
setUp() : void
test_default_values()
public
test_default_values() : void
test_emit()
public
test_emit() : void
test_event_name_attribute_is_ignored()
"The user provided Attributes MUST not take over the event.name attribute"
public
test_event_name_attribute_is_ignored() : void