diff --git a/src/includes/class/class.LSlog_staticLoggerClass.php b/src/includes/class/class.LSlog_staticLoggerClass.php index 75a3c87e..3ff65c96 100644 --- a/src/includes/class/class.LSlog_staticLoggerClass.php +++ b/src/includes/class/class.LSlog_staticLoggerClass.php @@ -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); } /**