mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-05 04:37:38 +02:00
Update docblocks some more
This commit is contained in:
@@ -103,7 +103,11 @@ class ErrorHandler
|
|||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function registerFatalHandler($level = null, $reservedMemorySize = 20): self
|
/**
|
||||||
|
* @param string|null $level a LogLevel::* constant, null to use the default LogLevel::ALERT or false to disable fatal error handling
|
||||||
|
* @param int $reservedMemorySize Amount of KBs to reserve in memory so that it can be freed when handling fatal errors giving Monolog some room in memory to get its job done
|
||||||
|
*/
|
||||||
|
public function registerFatalHandler($level = null, int $reservedMemorySize = 20): self
|
||||||
{
|
{
|
||||||
register_shutdown_function([$this, 'handleFatalError']);
|
register_shutdown_function([$this, 'handleFatalError']);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user