PHP Класс SimpleSAML\Logger\FileLoggingHandler

Автор: Lasse Birnbaum Jensen, SDU.
Автор: Andreas Åkre Solberg, UNINETT AS. ([email protected])
Наследование: implements SimpleSAML\Logger\LoggingHandlerInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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