Skip to content
Snippets Groups Projects
Commit 5eb5c303 authored by Jaime Perez Crespo's avatar Jaime Perez Crespo
Browse files

Fix a few outdated comments.

parent ed884a14
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ class Logger ...@@ -16,7 +16,7 @@ class Logger
{ {
/** /**
* @var \SimpleSAML_Logger_LoggingHandler|false|null * @var \SimpleSAML\Logger\LoggingHandlerInterface|false|null
*/ */
private static $loggingHandler = null; private static $loggingHandler = null;
......
...@@ -23,7 +23,7 @@ class FileLoggingHandler implements LoggingHandlerInterface ...@@ -23,7 +23,7 @@ class FileLoggingHandler implements LoggingHandlerInterface
/** /**
* This array contains the mappings from syslog log levels to names. Copied more or less directly from * This array contains the mappings from syslog log levels to names. Copied more or less directly from
* SimpleSAML_Logger_LoggingHandlerErrorLog. * SimpleSAML\Logger\ErrorLogLoggingHandler.
*/ */
private static $levelNames = array( private static $levelNames = array(
Logger::EMERG => 'EMERGENCY', Logger::EMERG => 'EMERGENCY',
...@@ -86,7 +86,7 @@ class FileLoggingHandler implements LoggingHandlerInterface ...@@ -86,7 +86,7 @@ class FileLoggingHandler implements LoggingHandlerInterface
public function log($level, $string) public function log($level, $string)
{ {
if (!is_null($this->logFile)) { if (!is_null($this->logFile)) {
// set human-readable log level. Copied from SimpleSAML_Logger_LoggingHandlerErrorLog. // set human-readable log level. Copied from SimpleSAML\Logger\ErrorLogLoggingHandler.
$levelName = sprintf('UNKNOWN%d', $level); $levelName = sprintf('UNKNOWN%d', $level);
if (array_key_exists($level, self::$levelNames)) { if (array_key_exists($level, self::$levelNames)) {
$levelName = self::$levelNames[$level]; $levelName = self::$levelNames[$level];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment