2007-05-28 21:39:13 +00:00
|
|
|
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
|
|
|
|
{
|
2007-05-28 21:55:50 +00:00
|
|
|
void saveLog(string serverDaemon, string target, string methodCall, string arguments, int priority,string logMessage);
|
2007-05-28 22:20:25 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Initialises the interface
|
|
|
|
/// </summary>
|
|
|
|
void Initialise();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Closes the interface
|
|
|
|
/// </summary>
|
|
|
|
void Close();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// The plugin being loaded
|
|
|
|
/// </summary>
|
|
|
|
/// <returns>A string containing the plugin name</returns>
|
|
|
|
string getName();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// The plugins version
|
|
|
|
/// </summary>
|
|
|
|
/// <returns>A string containing the plugin version</returns>
|
|
|
|
string getVersion();
|
2007-05-28 21:39:13 +00:00
|
|
|
}
|
2007-05-28 22:20:25 +00:00
|
|
|
|
2007-05-28 21:39:13 +00:00
|
|
|
}
|