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

Add a new logger class that logs all messages to standard error.

parent eca260a3
No related branches found
No related tags found
No related merge requests found
<?php
namespace SimpleSAML\Logger;
/**
* A logging handler that outputs all messages to standard error.
*
* @author Jaime Perez Crespo, UNINETT AS <jaime.perez@uninett.no>
* @package SimpleSAMLphp
*/
class StandardError extends \SimpleSAML_Logger_LoggingHandlerFile
{
/**
* StandardError constructor.
*
* It runs the parent constructor and sets the log file to be the standard error descriptor.
*/
public function __construct()
{
parent::__construct();
$this->logFile = 'php://stderr';
}
}
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