summaryrefslogtreecommitdiff
path: root/src/Level.php
diff options
context:
space:
mode:
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";
+}