Mage/Console.php
/**
     * Log a message to the logfile.
     *
     * @param string $message
     * @param boolean $continuation
     */
Log a message to the logfile.
@param string $message
@param boolean $continuation
Log a message to the logfile . @param string $message @param boolean $continuation
public static function log($message, $continuation = false)
    {
        if (self::$logEnabled) {
            if (self::$log == null) {
                self::$log = fopen('.mage/logs/log-' . date('Ymd-His') . '.log', 'w');
            }
            $message = date('Y-m-d H:i:s -- ') . $message;
            fwrite(self::$log, $message . PHP_EOL);
        }
    }
public static function log ( $ message , $ continuation = false ) { if ( self :: $ logEnabled ) { if ( self :: $ log == null ) { self :: $ log = fopen ( '.mage/logs/log-' . date ( 'Ymd-His' ) . '.log' , 'w' ) ; } $ message = date ( 'Y-m-d H:i:s -- ' ) . $ message ; fwrite ( self :: $ log , $ message . PHP_EOL ) ; } }
Log a message to the logfile.
Log a message to the logfile .