OpenSimMirror/OpenGridServices/OpenGrid.Framework.Data/ILogData.cs

43 lines
1.0 KiB
C#

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 target, string methodCall, string arguments, int priority,string logMessage);
/// <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();
}
}