LoggingConfig class final

LOG_* configuration (config/logging.php).

Implemented types

Constructors

LoggingConfig({String channel = 'stack', List<String> stack = const <String>['console'], LogLevel level = .debug, String path = 'storage/logs', int days = 14, List<String> redact = defaultRedactedKeys})
const
LoggingConfig.fromEnv(Env env)
factory

Properties

channel → String
Default channel (stack, console, json, daily, null).
final
days → int
final
hashCode → int
The hash code for this object.
no setterinherited
key → String
Top-level key of the section, e.g. app or database.
no setteroverride
level → LogLevel
final
path → String
final
redact → List<String>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stack → List<String>
Channels combined by stack.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, Object?>
Plain-map projection used for dot-notation access.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

defaultRedactedKeys → const List<String>
Context keys whose values are replaced by [REDACTED] (substring, case-insensitive) — BLUEPRINT_V2 §7.6.5.