LoggerInterface
in
Logger interface
Table of Contents
Methods
Methods
error()
Add error log
public
error(string $message[, array<string|int, mixed> $context = [] ]) : bool
Parameters
- $message : string
- $context : array<string|int, mixed> = []
Return values
boolinfo()
Add info log
public
info(string $message[, array<string|int, mixed> $context = [] ]) : bool
Parameters
- $message : string
- $context : array<string|int, mixed> = []
Return values
boollog()
Add log record
public
log(string $level, string $message[, array<string|int, mixed> $context = [] ]) : bool
Parameters
- $level : string
- $message : string
- $context : array<string|int, mixed> = []