Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| LogLevel | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | /** |
| 3 | * Jingga |
| 4 | * |
| 5 | * PHP Version 8.1 |
| 6 | * |
| 7 | * @package phpOMS\Log |
| 8 | * @copyright Dennis Eichhorn |
| 9 | * @license OMS License 2.0 |
| 10 | * @version 1.0.0 |
| 11 | * @link https://jingga.app |
| 12 | */ |
| 13 | declare(strict_types=1); |
| 14 | |
| 15 | namespace phpOMS\Log; |
| 16 | |
| 17 | use phpOMS\Stdlib\Base\Enum; |
| 18 | |
| 19 | /** |
| 20 | * Log level enum. |
| 21 | * |
| 22 | * @package phpOMS\Log |
| 23 | * @license OMS License 2.0 |
| 24 | * @link https://jingga.app |
| 25 | * @since 1.0.0 |
| 26 | */ |
| 27 | abstract class LogLevel extends Enum |
| 28 | { |
| 29 | public const EMERGENCY = 'emergency'; |
| 30 | |
| 31 | public const ALERT = 'alert'; |
| 32 | |
| 33 | public const CRITICAL = 'critical'; |
| 34 | |
| 35 | public const ERROR = 'error'; |
| 36 | |
| 37 | public const WARNING = 'warning'; |
| 38 | |
| 39 | public const NOTICE = 'notice'; |
| 40 | |
| 41 | public const INFO = 'info'; |
| 42 | |
| 43 | public const DEBUG = 'debug'; |
| 44 | } |