Elgg  Version master
Public Member Functions | Public Attributes | Protected Attributes | List of all members
Elgg\Cli\ErrorHandler Class Reference

Console handler. More...

Inheritance diagram for Elgg\Cli\ErrorHandler:

Public Member Functions

 __construct (OutputInterface $stdout, OutputInterface $stderr=null, $bubble=true)
 Constructor. More...
 
 write (LogRecord $record)
 {} More...
 
 getDefaultFormatter ()
 {} More...
 
 close ()
 {} More...
 

Public Attributes

const VERBOSITY_LEVEL_MAP
 

Protected Attributes

 $stdout
 
 $stderr
 

Detailed Description

Console handler.

Definition at line 18 of file ErrorHandler.php.

Constructor & Destructor Documentation

Elgg\Cli\ErrorHandler::__construct ( OutputInterface  $stdout,
OutputInterface  $stderr = null,
  $bubble = true 
)

Constructor.

Parameters
OutputInterface$stdoutSTDOUT handler
OutputInterface$stderrSTDERR handler
bool$bubbleBubble severity

Definition at line 45 of file ErrorHandler.php.

Member Function Documentation

Elgg\Cli\ErrorHandler::close ( )

{}

Definition at line 92 of file ErrorHandler.php.

Elgg\Cli\ErrorHandler::getDefaultFormatter ( )

{}

Definition at line 85 of file ErrorHandler.php.

Elgg\Cli\ErrorHandler::write ( LogRecord  $record)

{}

Definition at line 63 of file ErrorHandler.php.

Member Data Documentation

Elgg\Cli\ErrorHandler::$stderr
protected

Definition at line 36 of file ErrorHandler.php.

Elgg\Cli\ErrorHandler::$stdout
protected

Definition at line 31 of file ErrorHandler.php.

const Elgg\Cli\ErrorHandler::VERBOSITY_LEVEL_MAP
Initial value:
= [
OutputInterface::VERBOSITY_QUIET => Logger::OFF

Definition at line 20 of file ErrorHandler.php.


The documentation for this class was generated from the following file: