lib/ShortPixel/SPLog.php
public static function format($msg, $processId = false, $time = false, $flags = self::FLAG_NONE) {
        return "\n" . ($processId ? "$processId@" : "")
                    . date("Y-m-d H:i:s")
                    . ($time ? " (" . number_format(microtime(true) - $time, 2) . "s)" : "")
                    . ($flags | self::FLAG_MEMORY ? " (M: " . number_format(memory_get_usage()) . ")" : ""). " > $msg\n";
    }
public static function format($msg, $processId = false, $time = false, $flags = self::FLAG_NONE) {
        return "\n" . ($processId ? "$processId@" : "")
                    . date("Y-m-d H:i:s")
                    . ($time ? " (" . number_format(microtime(true) - $time, 2) . "s)" : "")
                    . ($flags | self::FLAG_MEMORY ? " (M: " . number_format(memory_get_usage()) . ")" : ""). " > $msg\n";
    }
public static function format ( $ msg , $ processId = false , $ time = false , $ flags = self :: FLAG_NONE ) { return "\n" . ( $ processId ? "$processId@" : "" ) . date ( "Y-m-d H:i:s" ) . ( $ time ? " (" . number_format ( microtime ( true ) - $ time , 2 ) . "s)" : "" ) . ( $ flags | self :: FLAG_MEMORY ? " (M: " . number_format ( memory_get_usage ( ) ) . ")" : "" ) . " > $msg\n" ; }
formats a log message
@param $processId
@param $msg
@param $time
@return string
formats a log message