Documentation

LogThrowable extends HordeThrowable

Horde extended exception interface.

Tags
author

Ralf Lang lang@b1-systems.de

category

Horde

copyright

2008-2021 Horde LLC

license

http://www.horde.org/licenses/lgpl21 LGPL-2.1

Table of Contents

getDetails()  : string
Get additional details separated from the exception's message
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.
setDetails()  : void
Set additional details separated from the exception's message
setLogLevel()  : void
Sets the log level.

Methods

getDetails()

Get additional details separated from the exception's message

public getDetails() : string
Return values
string

getLogLevel()

Get the log level.

public getLogLevel() : int
Return values
int

The Horde_Log constant for the log level.

isLogged()

Check if this exception has been logged.

public isLogged() : bool
Return values
bool

markAsLogged()

Mark this exception as already logged. This cannot be undone.

public markAsLogged() : void
Return values
void

setDetails()

Set additional details separated from the exception's message

public setDetails(string $details) : void
Parameters
$details : string
Return values
void

setLogLevel()

Sets the log level.

public setLogLevel(string|int $level) : void
Parameters
$level : string|int

The log level.

Return values
void

Search results