lib/ShortPixel/SPLog.php
public static function Init($processId, $acceptedProducers, $target = self::TARGET_CONSOLE, $targetName = false, $flags = SPLog::FLAG_NONE) {
        self::$instance = new SPLog($processId, $acceptedProducers, $target, $targetName, $flags);
        return self::$instance;
    }
public static function Init($processId, $acceptedProducers, $target = self::TARGET_CONSOLE, $targetName = false, $flags = SPLog::FLAG_NONE) {
        self::$instance = new SPLog($processId, $acceptedProducers, $target, $targetName, $flags);
        return self::$instance;
    }
public static function Init ( $ processId , $ acceptedProducers , $ target = self :: TARGET_CONSOLE , $ targetName = false , $ flags = SPLog :: FLAG_NONE ) { self :: $ instance = new SPLog ( $ processId , $ acceptedProducers , $ target , $ targetName , $ flags ) ; return self :: $ instance ; }
init the logger singleton
@param $processId
@param $acceptedProducers - the producers from which the logger will log, ignoring gracefully the others
@param int $target - the log type
@param bool|false $targetName the log name if needed
@return SPLog the newly created logger instance
init the logger singleton