LoggerProviderBuilder
in package
Table of Contents
Properties
- $configurator : Configurator|null
- $processors : array<string|int, LogRecordProcessorInterface>
- $resource : ResourceInfo|null
Methods
- addLogRecordProcessor() : self
- build() : LoggerProviderInterface
- setConfigurator() : self
- setResource() : self
- buildProcessor() : LogRecordProcessorInterface
Properties
$configurator
private
Configurator|null
$configurator
= null
$processors
private
array<string|int, LogRecordProcessorInterface>
$processors
= []
$resource
private
ResourceInfo|null
$resource
= null
Methods
addLogRecordProcessor()
public
addLogRecordProcessor(LogRecordProcessorInterface $processor) : self
Parameters
- $processor : LogRecordProcessorInterface
Return values
selfbuild()
public
build() : LoggerProviderInterface
Return values
LoggerProviderInterfacesetConfigurator()
public
setConfigurator(Configurator $configurator) : self
Parameters
- $configurator : Configurator
Return values
selfsetResource()
public
setResource(ResourceInfo $resource) : self
Parameters
- $resource : ResourceInfo
Return values
selfbuildProcessor()
private
buildProcessor() : LogRecordProcessorInterface