PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

The SeasLog class

(PECL seaslog >=1.0.0)

简介

类摘要

SeasLog {
/* 方法 */
public static alert ( string $message [, array $content [, string $logger ]] ) : bool
public static analyzerCount ( string $level [, string $log_path [, string $key_word ]] ) : mixed
public static analyzerDetail ( string $level [, string $log_path [, string $key_word [, int $start [, int $limit [, int $order ]]]]] ) : mixed
public static closeLoggerStream ( int $model , string $logger ) : bool
public static critical ( string $message [, array $content [, string $logger ]] ) : bool
public static debug ( string $message [, array $content [, string $logger ]] ) : bool
public __destruct ( void )
public static emergency ( string $message [, array $content [, string $logger ]] ) : bool
public static error ( string $message [, array $content [, string $logger ]] ) : bool
public static flushBuffer ( void ) : bool
public static Seaslog::getBasePath ( void ) : string
public static getBuffer ( void ) : array
public static getBufferEnabled ( void ) : bool
public static getDatetimeFormat ( void ) : string
public static getLastLogger ( void ) : string
public static getRequestID ( void ) : string
public static getRequestVariable ( int $key ) : bool
public static info ( string $message [, array $content [, string $logger ]] ) : bool
public static log ( string $level [, string $message [, array $content [, string $logger ]]] ) : bool
public static notice ( string $message [, array $content [, string $logger ]] ) : bool
public static setBasePath ( string $base_path ) : bool
public static setDatetimeFormat ( string $format ) : bool
public static setLogger ( string $logger ) : bool
public static setRequestID ( string $request_id ) : bool
public static setRequestVariable ( int $key , string $value ) : bool
public static warning ( string $message [, array $content [, string $logger ]] ) : bool
}

Table of Contents