LateBindingLoggerProvider
in package
implements
LoggerProviderInterface
Table of Contents
Interfaces
Properties
- $factory : Closure
- $loggerProvider : LoggerProviderInterface|null
Methods
- __construct() : mixed
- getLogger() : LoggerInterface
Properties
$factory read-only
private
Closure
$factory
$loggerProvider
private
LoggerProviderInterface|null
$loggerProvider
= null
Methods
__construct()
public
__construct(callable(): LoggerProviderInterface $factory) : mixed
Parameters
- $factory : callable(): LoggerProviderInterface
getLogger()
public
getLogger(string $name[, string|null $version = null ][, string|null $schemaUrl = null ][, iterable<string|int, mixed> $attributes = [] ]) : LoggerInterface
Parameters
- $name : string
- $version : string|null = null
- $schemaUrl : string|null = null
- $attributes : iterable<string|int, mixed> = []