1: <?php declare(strict_types=1);
2:
3: namespace Salient\Contract\Core;
4:
5: /**
6: * Message levels
7: *
8: * Levels have the same value as their syslog / journalctl counterparts.
9: *
10: * @api
11: */
12: interface MessageLevel
13: {
14: public const EMERGENCY = 0;
15: public const ALERT = 1;
16: public const CRITICAL = 2;
17: public const ERROR = 3;
18: public const WARNING = 4;
19: public const NOTICE = 5;
20: public const INFO = 6;
21: public const DEBUG = 7;
22: }
23: