Log
in package
implements
Stringable
Class Log.
Interfaces, Classes, Traits and Enums
- Stringable
Table of Contents
- $id : string
- $level : LogLevel
- $message : string
- $time : int
- __construct() : mixed
- __toString() : string
- sanitizeMessage() : string
Properties
$id read-only
public
string
$id
$level read-only
public
LogLevel
$level
$message read-only
public
string
$message
$time read-only
public
int
$time
Methods
__construct()
public
__construct(LogLevel $level, string $message, int $time, string $id) : mixed
Parameters
- $level : LogLevel
- $message : string
- $time : int
- $id : string
Return values
mixed —__toString()
public
__toString() : string
Return values
string —sanitizeMessage()
protected
sanitizeMessage(string $message) : string
Parameters
- $message : string