PHP 클래스 SimpleSAML\Logger\FileLoggingHandler

저자: Lasse Birnbaum Jensen, SDU.
저자: Andreas Åkre Solberg, UNINETT AS. ([email protected])
상속: implements SimpleSAML\Logger\LoggingHandlerInterface
파일 보기 프로젝트 열기: simplesamlphp/simplesamlphp

보호된 프로퍼티들

프로퍼티 타입 설명
$format
$logFile null | string A string with the path to the file where we should log our messages.
$processname

공개 메소드들

메소드 설명
__construct ( SimpleSAML_Configuration $config ) Build a new logging handler based on files.
log ( integer $level, string $string ) Log a message to the log file.
setLogFormat ( string $format ) Set the format desired for the logs.

메소드 상세

__construct() 공개 메소드

Build a new logging handler based on files.
public __construct ( SimpleSAML_Configuration $config )
$config SimpleSAML_Configuration

log() 공개 메소드

Log a message to the log file.
public log ( integer $level, string $string )
$level integer The log level.
$string string The formatted message to log.

setLogFormat() 공개 메소드

Set the format desired for the logs.
public setLogFormat ( string $format )
$format string The format used for logs.

프로퍼티 상세

$format 보호되어 있는 프로퍼티

protected $format

$logFile 보호되어 있는 프로퍼티

A string with the path to the file where we should log our messages.
protected null|string $logFile
리턴 null | string

$processname 보호되어 있는 프로퍼티

protected $processname