aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenGridServices/OpenGrid.Framework.Data/ILogData.cs
blob: 7c6a2c542ea913282be45179faf79608369396c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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();
    }

}