MonologErrorHandler
class MonologErrorHandler implements ErrorHandler (View source)
Methods
Set the PSR-3 logger to send errors & exceptions to. Will overwrite any previously configured loggers
Adds a PSR-3 logger to send messages to, to the end of the stack
Set the PSR-3 loggers (overwrites any previously configured values)
Details
        
                            $this
    setLogger(LoggerInterface $logger)
        deprecated
    
    deprecated
Set the PSR-3 logger to send errors & exceptions to. Will overwrite any previously configured loggers
        
                            LoggerInterface
    getLogger()
        deprecated
    
    deprecated
Get the first registered PSR-3 logger to send errors & exceptions to
        
                            $this
    pushLogger(LoggerInterface $logger)
        
    
    Adds a PSR-3 logger to send messages to, to the end of the stack
        
                            LoggerInterface[]
    getLoggers()
        
    
    Returns the stack of PSR-3 loggers
        
                            $this
    setLoggers(array $loggers)
        
    
    Set the PSR-3 loggers (overwrites any previously configured values)
        
                            
    start()
        
    
    Register and begin handling errors with this handler