LoggingConfigDefinition
final class LoggingConfigDefinition extends AbstractConfigDefinition (View source)
Properties
| protected mixed[] | $data | from AbstractConfigDefinition |
Methods
Replaces one configuration value at a dot-separated path.
Appends one configuration value at a dot-separated list path.
Creates an empty logging definition for framework defaults or application policy.
Returns the YAML module name consumed by the typed logging resolver.
Sets the shared retention period used by every built-in file channel.
Enables or disables optional HTTP request file logging.
Sets the lowest response status included in optional request logging.
Details
toArray
array
toArray()
No description
set
protected AbstractConfigDefinition
set(string $path, mixed $value)
Replaces one configuration value at a dot-separated path.
append
protected AbstractConfigDefinition
append(string $path, mixed $value)
Appends one configuration value at a dot-separated list path.
create
static LoggingConfigDefinition
create()
Creates an empty logging definition for framework defaults or application policy.
moduleKey
static string
moduleKey()
Returns the YAML module name consumed by the typed logging resolver.
retentionDays
LoggingConfigDefinition
retentionDays(int $days)
Sets the shared retention period used by every built-in file channel.
requestEnabled
LoggingConfigDefinition
requestEnabled(bool $enabled = true)
Enables or disables optional HTTP request file logging.
requestMinStatus
LoggingConfigDefinition
requestMinStatus(int $statusCode)
Sets the lowest response status included in optional request logging.