Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
LogException Class Reference
+ Collaboration diagram for LogException:

Static Public Member Functions

static getId ()
 
static writeLog ($e, $errid=null)
 
static writeLogMsg ($msg)
 
static formatErrorLogException ($e, $errorId="DCP")
 
static logMessage ($e, &$errorId)
 
static getMessage ($e, &$errorId, &$logMessage="")
 

Static Protected Member Functions

static getUserInfo ()
 

Static Protected Attributes

static $errId
 

Detailed Description

Definition at line 9 of file Class.LogException.php.

Member Function Documentation

static formatErrorLogException (   $e,
  $errorId = "DCP" 
)
static

Return Exception message with call stack

Parameters
\Throwable$e
string$errorId
Returns
string

Definition at line 50 of file Class.LogException.php.

static getId ( )
static

Definition at line 14 of file Class.LogException.php.

static getMessage (   $e,
$errorId,
$logMessage = "" 
)
static

Return message according to CORE_DISPLAY_ERROR parameter

Parameters
\Exception | array$e
string$errorIdreturn error identifier to be used in request message and log message
string$logMessagecomplete message
Returns
string anonymous message error if CORE_DISPLAY_ERROR is yes

Definition at line 111 of file Class.LogException.php.

+ Here is the call graph for this function:

static getUserInfo ( )
staticprotected

Definition at line 71 of file Class.LogException.php.

+ Here is the call graph for this function:

static logMessage (   $e,
$errorId 
)
static

Log message according to CORE_DISPLAY_ERROR parameter

Parameters
\Exception | array$eException or Error info done by error_get_last()
string$errorId
Returns
string

Definition at line 88 of file Class.LogException.php.

+ Here is the call graph for this function:

static writeLog (   $e,
  $errid = null 
)
static
Parameters
\Throwable$e
string$errid
Returns
void

Definition at line 25 of file Class.LogException.php.

+ Here is the call graph for this function:

static writeLogMsg (   $msg)
static

Definition at line 37 of file Class.LogException.php.

Field Documentation

$errId
staticprotected

Definition at line 12 of file Class.LogException.php.


The documentation for this class was generated from the following file:
← centre documentaire © anakeen