ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct (\SimpleSAML_Configuration $config) | |
Build a new logging handler based on files. More... | |
setLogFormat ($format) | |
Set the format desired for the logs. More... | |
log ($level, $string) | |
Log a message to the log file. More... | |
Protected Attributes | |
$logFile = null | |
$processname = null | |
$format | |
Static Private Attributes | |
static | $levelNames |
This array contains the mappings from syslog log levels to names. More... | |
Definition at line 14 of file FileLoggingHandler.php.
SimpleSAML\Logger\FileLoggingHandler::__construct | ( | \SimpleSAML_Configuration | $config | ) |
Build a new logging handler based on files.
Implements SimpleSAML\Logger\LoggingHandlerInterface.
Definition at line 45 of file FileLoggingHandler.php.
References SimpleSAML_Configuration\getPathValue(), SimpleSAML_Configuration\getString(), and SimpleSAML\Utils\Time\initTimezone().
SimpleSAML\Logger\FileLoggingHandler::log | ( | $level, | |
$string | |||
) |
Log a message to the log file.
int | $level | The log level. |
string | $string | The formatted message to log. |
Implements SimpleSAML\Logger\LoggingHandlerInterface.
Definition at line 86 of file FileLoggingHandler.php.
References SimpleSAML\Logger\FileLoggingHandler\$format, $formats, array, and format.
SimpleSAML\Logger\FileLoggingHandler::setLogFormat | ( | $format | ) |
Set the format desired for the logs.
string | $format | The format used for logs. |
Implements SimpleSAML\Logger\LoggingHandlerInterface.
Definition at line 74 of file FileLoggingHandler.php.
References SimpleSAML\Logger\FileLoggingHandler\$format, and format.
|
protected |
Definition at line 39 of file FileLoggingHandler.php.
Referenced by SimpleSAML\Logger\FileLoggingHandler\log(), and SimpleSAML\Logger\FileLoggingHandler\setLogFormat().
|
staticprivate |
This array contains the mappings from syslog log levels to names.
Copied more or less directly from SimpleSAML.
Definition at line 28 of file FileLoggingHandler.php.
|
protected |
Definition at line 22 of file FileLoggingHandler.php.
|
protected |
Definition at line 38 of file FileLoggingHandler.php.