mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 22:43:47 +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 {
|
||||
|
||||
|
||||
/*
|
||||
* Log a message via class logger
|
||||
*
|
||||
|
@ -50,9 +49,7 @@ class LSlog_staticLoggerClass {
|
|||
* @retval void
|
||||
**/
|
||||
protected static function log_exception($exception, $prefix=null, $fatal=true) {
|
||||
if (is_null(self :: $logger))
|
||||
self :: $logger = LSlog :: get_logger(get_called_class());
|
||||
self :: $logger -> exception($exception, $prefix, $fatal);
|
||||
LSlog :: get_logger(get_called_class()) -> exception($exception, $prefix, $fatal);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue