Log
Less than 1 minute
Log
class LogProperties
logger
public LoggerInterface $loggerMethods
__callStatic
Forwards static facade method calls to the active logger instance.
public __callStatic(string $method, array $args): mixedParameters
| Parameter | Type | Description |
|---|---|---|
$method | string | logger method name to invoke |
$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 Tue, 21 Apr 2026 04:00:23 +0000