public static function resetGlobalState()
    {
        foreach (self::$module_loggers as $logger)
            $logger->removeLogWriters();
        self::$module_loggers = [];
        self::$accept_mode = self::MODE_ACCEPT_MOST_SPECIFIC;
    }
public static function resetGlobalState()
    {
        foreach (self::$module_loggers as $logger)
            $logger->removeLogWriters();
        self::$module_loggers = [];
        self::$accept_mode = self::MODE_ACCEPT_MOST_SPECIFIC;
    }
public static function resetGlobalState ( ) { foreach ( self :: $ module_loggers as $ logger ) $ logger -> removeLogWriters ( ) ; self :: $ module_loggers = [ ] ; self :: $ accept_mode = self :: MODE_ACCEPT_MOST_SPECIFIC ; }
This method will reset all global state in the Logger object.
It will remove all writers from all loggers and then remove all
loggers. Note that this will not remove existing logger instances
from other objects - this is why the writers are removed.
This method will reset all global state in the Logger object . It will remove all writers from all loggers and then remove all loggers . Note that this will not remove existing logger instances from other objects - this is why the writers are removed .