Log
Less than 1 minute
Log
Properties
logger
public LoggerInterface $loggerMethods
__callStatic
public __callStatic(string $method, array $args): mixedParameters
| Parameter | Type | Description |
|---|---|---|
$method | string | |
$args | array |
setLogger
Sets the logger instance to be used by the framework.
public setLogger(LoggerInterface $logger): voidParameters
| Parameter | Type | Description |
|---|---|---|
$logger | LoggerInterface | the logger instance implementing LoggerInterface |
getLogger
Retrieves the current logger instance.
public getLogger(): LoggerInterfaceIf no logger has been set, this method will instantiate and return a NullLogger.
Generated by Hazaar API Doc Generator on Sun, 01 Mar 2026 09:22:26 +0000