Methods
-
Logger file constructor.
-
Logs with an arbitrary level.
-
Interpolates context values into the message placeholders.
Methods Details
-
public function __construct(string $file)
Logger file constructor. -
public function log(variable $level, string $message, array $context)
Logs with an arbitrary level. -
protected function interpolate(string $message, array $context)
Interpolates context values into the message placeholders.