LoggerProviderTest
extends TestCase
in package
Tags
Attributes
- #[CoversClass]
- \OpenTelemetry\SDK\Logs\LoggerProvider::class
Table of Contents
Properties
- $config : Config|MockObject
- $processor : LogRecordProcessorInterface|MockObject
- $provider : LoggerProvider
Methods
- setUp() : void
- test_builder() : void
- test_force_flush_calls_processor_force_flush() : void
- test_get_logger() : void
- test_get_logger_after_shutdown() : void
- test_get_logger_if_disabled() : void
- test_shutdown_calls_processor_shutdown() : void
- test_update_configurator_updates_loggers() : void
Properties
$config
private
Config|MockObject
$config
$processor
private
LogRecordProcessorInterface|MockObject
$processor
$provider
private
LoggerProvider
$provider
Methods
setUp()
public
setUp() : void
test_builder()
public
test_builder() : void
test_force_flush_calls_processor_force_flush()
public
test_force_flush_calls_processor_force_flush() : void
test_get_logger()
public
test_get_logger() : void
test_get_logger_after_shutdown()
public
test_get_logger_after_shutdown() : void
test_get_logger_if_disabled()
public
test_get_logger_if_disabled() : void
test_shutdown_calls_processor_shutdown()
public
test_shutdown_calls_processor_shutdown() : void
test_update_configurator_updates_loggers()
public
test_update_configurator_updates_loggers() : void