ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct (\SimpleSAML_Configuration $config) | |
ErrorLogLoggingHandler constructor. More... | |
setLogFormat ($format) | |
Set the format desired for the logs. More... | |
log ($level, $string) | |
Log a message to syslog. More... | |
Private Attributes | |
$processname | |
Static Private Attributes | |
static | $levelNames |
This array contains the mappings from syslog log level to names. More... | |
Definition at line 15 of file ErrorLogLoggingHandler.php.
SimpleSAML\Logger\ErrorLogLoggingHandler::__construct | ( | \SimpleSAML_Configuration | $config | ) |
ErrorLogLoggingHandler constructor.
\SimpleSAML_Configuration | $config | The configuration object for this handler. |
Implements SimpleSAML\Logger\LoggingHandlerInterface.
Definition at line 45 of file ErrorLogLoggingHandler.php.
References SimpleSAML_Configuration\getString().
SimpleSAML\Logger\ErrorLogLoggingHandler::log | ( | $level, | |
$string | |||
) |
Log a message to syslog.
int | $level | The log level. |
string | $string | The formatted message to log. |
Implements SimpleSAML\Logger\LoggingHandlerInterface.
Definition at line 68 of file ErrorLogLoggingHandler.php.
References $formats, array, and Monolog\Handler\error_log().
SimpleSAML\Logger\ErrorLogLoggingHandler::setLogFormat | ( | $format | ) |
Set the format desired for the logs.
string | $format | The format used for logs. |
Implements SimpleSAML\Logger\LoggingHandlerInterface.
Definition at line 56 of file ErrorLogLoggingHandler.php.
|
staticprivate |
This array contains the mappings from syslog log level to names.
Definition at line 21 of file ErrorLogLoggingHandler.php.
|
private |
Definition at line 37 of file ErrorLogLoggingHandler.php.