ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct (\SimpleSAML_Configuration $config) | |
Constructor for log handlers. More... | |
log ($level, $string) | |
Log a message to its destination. More... | |
setLogFormat ($format) | |
Set the format desired for the logs. More... | |
Definition at line 12 of file LoggingHandlerInterface.php.
SimpleSAML\Logger\LoggingHandlerInterface::__construct | ( | \SimpleSAML_Configuration | $config | ) |
Constructor for log handlers.
It must accept receiving a object.
\SimpleSAML_Configuration | $config | The configuration to use in this log handler. |
Implemented in SimpleSAML\Logger\ErrorLogLoggingHandler, SimpleSAML\Logger\FileLoggingHandler, SimpleSAML\Logger\SyslogLoggingHandler, and SimpleSAML\Logger\StandardErrorLoggingHandler.
SimpleSAML\Logger\LoggingHandlerInterface::log | ( | $level, | |
$string | |||
) |
Log a message to its destination.
int | $level | The log level. |
string | $string | The message to log. |
Implemented in SimpleSAML\Logger\FileLoggingHandler, SimpleSAML\Logger\ErrorLogLoggingHandler, and SimpleSAML\Logger\SyslogLoggingHandler.
SimpleSAML\Logger\LoggingHandlerInterface::setLogFormat | ( | $format | ) |
Set the format desired for the logs.
string | $format | The format used for logs. |
Implemented in SimpleSAML\Logger\FileLoggingHandler, SimpleSAML\Logger\ErrorLogLoggingHandler, and SimpleSAML\Logger\SyslogLoggingHandler.