summaryrefslogtreecommitdiff
path: root/src/Level.php
diff options
context:
space:
mode:
authorAsko Nõmm <asko@nth.ee>2024-11-10 22:28:03 +0200
committerAsko Nõmm <asko@nth.ee>2024-11-10 22:28:03 +0200
commit12b6c4b3008c2df545c537943d4e38323cfc174e (patch)
tree11e427a794832ac73657da675f3d79949443a3f6 /src/Level.php
Initial commit
Diffstat (limited to 'src/Level.php')
-rw-r--r--src/Level.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Level.php b/src/Level.php
new file mode 100644
index 0000000..5e573bc
--- /dev/null
+++ b/src/Level.php
@@ -0,0 +1,18 @@
+<?php
+
+namespace Asko\Loggr;
+
+/**
+ * @author Asko Nõmm <asko@faultd.com>
+ */
+enum Level: string
+{
+ case Emergency = "EMERGENCY";
+ case Alert = "ALERT";
+ case Critical = "CRITICAL";
+ case Error = "ERROR";
+ case Warning = "WARNING";
+ case Notice = "NOTICE";
+ case Info = "INFO";
+ case Debug = "DEBUG";
+}