From 96b1b955606b7cb5b46c4a0d1f6f5cf404dae5ef Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Mon, 28 May 2007 21:39:13 +0000 Subject: [PATCH] * Added ILogData interface to Grid.Framework.Data - to be used for saving log information to database (region connections, user connections, etc) --- .../OpenGrid.Framework.Data/ILogData.cs | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 OpenGridServices/OpenGrid.Framework.Data/ILogData.cs diff --git a/OpenGridServices/OpenGrid.Framework.Data/ILogData.cs b/OpenGridServices/OpenGrid.Framework.Data/ILogData.cs new file mode 100644 index 0000000000..511011e98b --- /dev/null +++ b/OpenGridServices/OpenGrid.Framework.Data/ILogData.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace OpenGrid.Framework.Data +{ + public enum LogSeverity : int + { + CRITICAL = 1, + MAJOR = 2, + MEDIUM = 3, + LOW = 4, + INFO = 5, + VERBOSE = 6 + } + public interface ILogData + { + void saveLog(string serverDaemon, string methodCall, string arguments, int priority,string logMessage); + } +}