Logger
extends AbstractLogger
in package
Simple Logger Implementation.
Table of Contents
Methods
- log() : void
- Logs with an arbitrary level.
- interpolate() : string
- Interpolates context values into the message placeholders.
Methods
log()
Logs with an arbitrary level.
public
log(mixed $level, string|Stringable $message[, array<string, mixed> $context = [] ]) : void
Parameters
- $level : mixed
- $message : string|Stringable
- $context : array<string, mixed> = []
Tags
interpolate()
Interpolates context values into the message placeholders.
protected
interpolate(string $message[, array<string, mixed> $context = [] ]) : string
Parameters
- $message : string
- $context : array<string, mixed> = []