Elgg  Version 6.3
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 (protected OutputInterface $stdout, ?OutputInterface $stderr=null, bool $bubble=true)
 Constructor. More...
 
 write (LogRecord $record)
 {} More...
 
 getDefaultFormatter ()
 {} More...
 
 close ()
 {} More...
 

Public Attributes

const VERBOSITY_LEVEL_MAP
 

Protected Attributes

 $stderr
 

Detailed Description

Console handler.

Definition at line 19 of file ErrorHandler.php.

Constructor & Destructor Documentation

◆ __construct()

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

Constructor.

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

Definition at line 41 of file ErrorHandler.php.

Member Function Documentation

◆ close()

Elgg\Cli\ErrorHandler::close ( )

{}

Definition at line 87 of file ErrorHandler.php.

◆ getDefaultFormatter()

Elgg\Cli\ErrorHandler::getDefaultFormatter ( )

{}

Definition at line 80 of file ErrorHandler.php.

◆ write()

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

{}

Definition at line 58 of file ErrorHandler.php.

Member Data Documentation

◆ $stderr

Elgg\Cli\ErrorHandler::$stderr
protected

Definition at line 32 of file ErrorHandler.php.

◆ VERBOSITY_LEVEL_MAP

const Elgg\Cli\ErrorHandler::VERBOSITY_LEVEL_MAP
Initial value:
= [
OutputInterface::VERBOSITY_QUIET => Logger::OFF,
OutputInterface::VERBOSITY_NORMAL => Level::Warning,
OutputInterface::VERBOSITY_VERBOSE => Level::Notice,
OutputInterface::VERBOSITY_VERY_VERBOSE => Level::Info,
OutputInterface::VERBOSITY_DEBUG => Level::Debug,
]
const OFF
Definition: Logger.php:30

Definition at line 21 of file ErrorHandler.php.


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