src/AcploLog/Log/StaticLogger.php
public static function save($message, $logFile = 'static.log', $logDir = 'data/logs')
    {
        if ($logFile === null) {
            // Useful for just Z-Ray logging
            return;
        }
        $logger = static::getInstance($logFile, $logDir);
        if (is_object($message) && $message instanceof LoggableObject) {
            $message = json_encode($message->acploLogMe());
        }
        $logger->debug($message);
    }
public static function save($message, $logFile = 'static.log', $logDir = 'data/logs')
    {
        if ($logFile === null) {
            // Useful for just Z-Ray logging
            return;
        }
        $logger = static::getInstance($logFile, $logDir);
        if (is_object($message) && $message instanceof LoggableObject) {
            $message = json_encode($message->acploLogMe());
        }
        $logger->debug($message);
    }
public static function save ( $ message , $ logFile = 'static.log' , $ logDir = 'data/logs' ) { if ( $ logFile === null ) { // Useful for just Z-Ray logging return ; } $ logger = static :: getInstance ( $ logFile , $ logDir ) ; if ( is_object ( $ message ) && $ message instanceof LoggableObject ) { $ message = json_encode ( $ message -> acploLogMe ( ) ) ; } $ logger -> debug ( $ message ) ; }
Saves a message to a logfile

@param mixed  $message
@param string $logFile
@param string $logDir
Saves a message to a logfile