Prado\PradoBase::log PHP Метод

log() публичный статический Метод

Messages logged by this method may be retrieved via {@link TLogger::getLogs} and may be recorded in different media, such as file, email, database, using {@link TLogRouter}.
public static log ( $msg, $level = TLogger::INFO, $category = 'Uncategorized', $ctl = null )
    public static function log($msg, $level = TLogger::INFO, $category = 'Uncategorized', $ctl = null)
    {
        if (self::$_logger === null) {
            self::$_logger = new TLogger();
        }
        self::$_logger->log($msg, $level, $category, $ctl);
    }