1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-19 23:56:17 +02:00
This commit is contained in:
Jordi Boggiano
2016-09-25 17:46:38 +02:00
parent 941c21b793
commit 96f4fd718f
15 changed files with 39 additions and 36 deletions

View File

@@ -186,8 +186,8 @@ class Logger implements LoggerInterface
/**
* Pops a handler from the stack
*
* @throws \LogicException If empty handler stack
* @return HandlerInterface
* @throws \LogicException If empty handler stack
*/
public function popHandler(): HandlerInterface
{
@@ -240,8 +240,8 @@ class Logger implements LoggerInterface
/**
* Removes the processor on top of the stack and returns it.
*
* @throws \LogicException If empty processor stack
* @return callable
* @throws \LogicException If empty processor stack
*/
public function popProcessor(): callable
{
@@ -347,9 +347,9 @@ class Logger implements LoggerInterface
/**
* Gets the name of the logging level.
*
* @param int $level
* @return string
* @param int $level
* @throws \Psr\Log\InvalidArgumentException If level is not defined
* @return string
*/
public static function getLevelName(int $level): string
{
@@ -364,8 +364,8 @@ class Logger implements LoggerInterface
* Converts PSR-3 levels to Monolog ones if necessary
*
* @param string|int Level number (monolog) or name (PSR-3)
* @return int
* @throws \Psr\Log\InvalidArgumentException If level is not defined
* @return int
*/
public static function toMonologLevel($level): int
{