LoggingConfig
final class LoggingConfig (View source)
Carries the immutable application policy resolved for built-in framework logging.
Methods
Initializes shared retention and optional request logging policies.
Returns the shared number of daily log files retained by built-in channels.
Reports whether HTTP request records are written to their dedicated channel.
Returns the minimum HTTP status code eligible for request logging, or zero for every response.
Details
__construct
__construct(int $retentionDays, bool $requestEnabled, int $requestMinStatus)
Initializes shared retention and optional request logging policies.
retentionDays
int
retentionDays()
Returns the shared number of daily log files retained by built-in channels.
requestEnabled
bool
requestEnabled()
Reports whether HTTP request records are written to their dedicated channel.
requestMinStatus
int
requestMinStatus()
Returns the minimum HTTP status code eligible for request logging, or zero for every response.