ErrorHandler

class OC\Log\ErrorHandler
Source:lib/private/Log/ErrorHandler.php#32

Properties

Methods

protected static OC\Log\ErrorHandler::removePassword($msg)
remove password in URLs
Source:

lib/private/Log/ErrorHandler.php#41

Parameters:
  • $msg (string)
Returns:

string

public static OC\Log\ErrorHandler::register($debug=false)
Source:lib/private/Log/ErrorHandler.php#45
public static OC\Log\ErrorHandler::setLogger($logger)
Source:lib/private/Log/ErrorHandler.php#60
public static OC\Log\ErrorHandler::onShutdown()
Source:lib/private/Log/ErrorHandler.php#65
public static OC\Log\ErrorHandler::onException($exception)
Uncaught exception handler
Source:

lib/private/Log/ErrorHandler.php#79

Parameters:
  • $exception (Exception)
public static OC\Log\ErrorHandler::onError($number, $message, $file, $line)
Source:lib/private/Log/ErrorHandler.php#87
public static OC\Log\ErrorHandler::onAll($number, $message, $file, $line)
Source:lib/private/Log/ErrorHandler.php#97
public static OC\Log\ErrorHandler::errnoToLogLevel($errno)
Source:lib/private/Log/ErrorHandler.php#103