From 9f108dd1a969473375341d92a7b1252fa2cedc9a Mon Sep 17 00:00:00 2001 From: mszulecki Date: Thu, 14 Jun 2007 17:09:01 +0000 Subject: Initial import. git-svn-id: http://svn.sukimashita.com/repos/mailadmin/trunk@2 4281df72-ff29-0410-8fee-2d9ac0c5f5a7 --- lib/model/LogEntry.php | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 lib/model/LogEntry.php (limited to 'lib/model/LogEntry.php') diff --git a/lib/model/LogEntry.php b/lib/model/LogEntry.php new file mode 100644 index 0000000..5b7fbb5 --- /dev/null +++ b/lib/model/LogEntry.php @@ -0,0 +1,38 @@ +getPriority()) + { + case 0: return "Debug"; + case 1: return "Info"; + case 2: return "Notice"; + case 3: return "Warning"; + case 4: return "Error"; + case 5: return "Critical"; + case 6: return "Alert"; + case 7: return "Emergency"; + default: + return "Unknown"; + } + } +} -- cgit v1.1-32-gdbae