mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 00:09:06 +01:00
LSlog_staticLoggerClass: fix log_exception() method
This commit is contained in:
parent
76577c058b
commit
c120e76822
1 changed files with 1 additions and 4 deletions
|
@ -27,7 +27,6 @@
|
||||||
*/
|
*/
|
||||||
class LSlog_staticLoggerClass {
|
class LSlog_staticLoggerClass {
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Log a message via class logger
|
* Log a message via class logger
|
||||||
*
|
*
|
||||||
|
@ -50,9 +49,7 @@ class LSlog_staticLoggerClass {
|
||||||
* @retval void
|
* @retval void
|
||||||
**/
|
**/
|
||||||
protected static function log_exception($exception, $prefix=null, $fatal=true) {
|
protected static function log_exception($exception, $prefix=null, $fatal=true) {
|
||||||
if (is_null(self :: $logger))
|
LSlog :: get_logger(get_called_class()) -> exception($exception, $prefix, $fatal);
|
||||||
self :: $logger = LSlog :: get_logger(get_called_class());
|
|
||||||
self :: $logger -> exception($exception, $prefix, $fatal);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue