aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenGridServices/OpenGrid.Framework.Data/ILogData.cs
diff options
context:
space:
mode:
authorAdam Frisby2007-06-01 23:34:37 +0000
committerAdam Frisby2007-06-01 23:34:37 +0000
commita7fe1b63f31fdfe438ed52512ccd277f9e33ff2e (patch)
treebbb2b2468742b6c9b9b077b4aee6b1fd610790d8 /OpenGridServices/OpenGrid.Framework.Data/ILogData.cs
parent* Zomg inventory server (incomplete shell) (diff)
downloadopensim-SC_OLD-a7fe1b63f31fdfe438ed52512ccd277f9e33ff2e.zip
opensim-SC_OLD-a7fe1b63f31fdfe438ed52512ccd277f9e33ff2e.tar.gz
opensim-SC_OLD-a7fe1b63f31fdfe438ed52512ccd277f9e33ff2e.tar.bz2
opensim-SC_OLD-a7fe1b63f31fdfe438ed52512ccd277f9e33ff2e.tar.xz
* ZOMG Wtf Comments?
* OpenGrid.Framework.Data is now well documented
Diffstat (limited to 'OpenGridServices/OpenGrid.Framework.Data/ILogData.cs')
-rw-r--r--OpenGridServices/OpenGrid.Framework.Data/ILogData.cs51
1 files changed, 51 insertions, 0 deletions
diff --git a/OpenGridServices/OpenGrid.Framework.Data/ILogData.cs b/OpenGridServices/OpenGrid.Framework.Data/ILogData.cs
index 7c6a2c5..53d0204 100644
--- a/OpenGridServices/OpenGrid.Framework.Data/ILogData.cs
+++ b/OpenGridServices/OpenGrid.Framework.Data/ILogData.cs
@@ -1,18 +1,69 @@
1/*
2* Copyright (c) OpenSim project, http://sim.opensecondlife.org/
3*
4* Redistribution and use in source and binary forms, with or without
5* modification, are permitted provided that the following conditions are met:
6* * Redistributions of source code must retain the above copyright
7* notice, this list of conditions and the following disclaimer.
8* * Redistributions in binary form must reproduce the above copyright
9* notice, this list of conditions and the following disclaimer in the
10* documentation and/or other materials provided with the distribution.
11* * Neither the name of the <organization> nor the
12* names of its contributors may be used to endorse or promote products
13* derived from this software without specific prior written permission.
14*
15* THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY
16* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18* DISCLAIMED. IN NO EVENT SHALL <copyright holder> BE LIABLE FOR ANY
19* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25*
26*/
1using System; 27using System;
2using System.Collections.Generic; 28using System.Collections.Generic;
3using System.Text; 29using System.Text;
4 30
5namespace OpenGrid.Framework.Data 31namespace OpenGrid.Framework.Data
6{ 32{
33 /// <summary>
34 /// The severity of an individual log message
35 /// </summary>
7 public enum LogSeverity : int 36 public enum LogSeverity : int
8 { 37 {
38 /// <summary>
39 /// Critical: systems failure
40 /// </summary>
9 CRITICAL = 1, 41 CRITICAL = 1,
42 /// <summary>
43 /// Major: warning prior to systems failure
44 /// </summary>
10 MAJOR = 2, 45 MAJOR = 2,
46 /// <summary>
47 /// Medium: an individual non-critical task failed
48 /// </summary>
11 MEDIUM = 3, 49 MEDIUM = 3,
50 /// <summary>
51 /// Low: Informational warning
52 /// </summary>
12 LOW = 4, 53 LOW = 4,
54 /// <summary>
55 /// Info: Information
56 /// </summary>
13 INFO = 5, 57 INFO = 5,
58 /// <summary>
59 /// Verbose: Debug Information
60 /// </summary>
14 VERBOSE = 6 61 VERBOSE = 6
15 } 62 }
63
64 /// <summary>
65 /// An interface to a LogData storage system
66 /// </summary>
16 public interface ILogData 67 public interface ILogData
17 { 68 {
18 void saveLog(string serverDaemon, string target, string methodCall, string arguments, int priority,string logMessage); 69 void saveLog(string serverDaemon, string target, string methodCall, string arguments, int priority,string logMessage);