LoggerSharedState
in package
Table of Contents
Properties
- $limits : LogRecordLimits
- $processor : LogRecordProcessorInterface
- $resource : ResourceInfo
- $shutdownResult : bool|null
Methods
- __construct() : mixed
- forceFlush() : bool
- getLogRecordLimits() : LogRecordLimits
- getProcessor() : LogRecordProcessorInterface
- getResource() : ResourceInfo
- hasShutdown() : bool
- shutdown() : bool
Properties
$limits read-only
private
LogRecordLimits
$limits
$processor read-only
private
LogRecordProcessorInterface
$processor
$resource read-only
private
ResourceInfo
$resource
$shutdownResult
private
bool|null
$shutdownResult
= null
Methods
__construct()
public
__construct(ResourceInfo $resource, LogRecordLimits $limits, LogRecordProcessorInterface $processor) : mixed
Parameters
- $resource : ResourceInfo
- $limits : LogRecordLimits
- $processor : LogRecordProcessorInterface
forceFlush()
public
forceFlush([CancellationInterface|null $cancellation = null ]) : bool
Parameters
- $cancellation : CancellationInterface|null = null
Return values
boolgetLogRecordLimits()
public
getLogRecordLimits() : LogRecordLimits
Return values
LogRecordLimitsgetProcessor()
public
getProcessor() : LogRecordProcessorInterface
Return values
LogRecordProcessorInterfacegetResource()
public
getResource() : ResourceInfo
Return values
ResourceInfohasShutdown()
public
hasShutdown() : bool
Return values
boolshutdown()
public
shutdown([CancellationInterface|null $cancellation = null ]) : bool
Parameters
- $cancellation : CancellationInterface|null = null