| 1: | <?php |
| 2: | |
| 3: | declare(strict_types=1); |
| 4: | |
| 5: | /** |
| 6: | * This file is part of the Nexus MCP SDK package. |
| 7: | * |
| 8: | * (c) 2025 John Paul E. Balandan, CPA <paulbalandan@gmail.com> |
| 9: | * |
| 10: | * For the full copyright and license information, please view |
| 11: | * the LICENSE file that was distributed with this source code. |
| 12: | */ |
| 13: | |
| 14: | namespace Nexus\Mcp\Schema\Enum; |
| 15: | |
| 16: | use Psr\Log\LogLevel; |
| 17: | |
| 18: | /** |
| 19: | * The severity of a log message. |
| 20: | * |
| 21: | * These map to syslog message severities, as specified in RFC-5424: |
| 22: | * |
| 23: | * @see https://datatracker.ietf.org/doc/html/rfc5424#section-6.2.1 |
| 24: | */ |
| 25: | enum LoggingLevel: string |
| 26: | { |
| 27: | case Debug = LogLevel::DEBUG; |
| 28: | case Info = LogLevel::INFO; |
| 29: | case Notice = LogLevel::NOTICE; |
| 30: | case Warning = LogLevel::WARNING; |
| 31: | case Error = LogLevel::ERROR; |
| 32: | case Critical = LogLevel::CRITICAL; |
| 33: | case Alert = LogLevel::ALERT; |
| 34: | case Emergency = LogLevel::EMERGENCY; |
| 35: | } |
| 36: |