LogTrait
Table of Contents
- $_logLevel : int
- The log level to use. A Horde_Log constant.
- $isLogged : bool
- getLogLevel() : int
- Get the log level.
- isLogged() : bool
- Check if this exception has been logged.
- markAsLogged() : void
- Mark this exception as already logged. This cannot be undone.
- setLogLevel() : void
- Sets the log level.
Properties
$_logLevel
The log level to use. A Horde_Log constant.
protected
int
$_logLevel
= 0
Name and protected status for legacy reasons. Should rather be private.
$isLogged
private
bool
$isLogged
= false
Methods
getLogLevel()
Get the log level.
public
final getLogLevel() : int
Return values
int —The Horde_Log constant for the log level.
isLogged()
Check if this exception has been logged.
public
final isLogged() : bool
Return values
bool —markAsLogged()
Mark this exception as already logged. This cannot be undone.
public
final markAsLogged() : void
Return values
void —setLogLevel()
Sets the log level.
public
final setLogLevel(int|string $level) : void
Parameters
- $level : int|string
-
The log level.