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 19 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 46 of file ErrorHandler.php.

Member Function Documentation

Elgg\Cli\ErrorHandler::close ( )

{}

Definition at line 93 of file ErrorHandler.php.

Elgg\Cli\ErrorHandler::getDefaultFormatter ( )

{}

Definition at line 86 of file ErrorHandler.php.

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

{}

Definition at line 64 of file ErrorHandler.php.

Member Data Documentation

Elgg\Cli\ErrorHandler::$stderr
protected

Definition at line 37 of file ErrorHandler.php.

Elgg\Cli\ErrorHandler::$stdout
protected

Definition at line 32 of file ErrorHandler.php.

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

Definition at line 21 of file ErrorHandler.php.


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