final |
---|
Maps message levels and types to formats
If multiple formats are assigned to the same {@see Level} and {@see MessageType}, the format assigned last takes precedence.
Methods | ||
---|---|---|
public
|
__construct(?ConsoleMessageFormat $fallbackFormat = null)
|
# |
public
|
set(
array<MessageLevel::*>|MessageLevel::* $level,
array<ConsoleMessageType::*>|ConsoleMessageType::* $type,
ConsoleMessageFormat $format,
): $this
|
# |
public
|
get(MessageLevel::* $level, ConsoleMessageType::* $type): ConsoleMessageFormat
|
# |