~ifolder-dev/simias/trunk-packaging

« back to all changes in this revision

Viewing changes to src/core/Common/.svn/text-base/ISimiasLog.cs.svn-base

  • Committer: Jorge O. Castro
  • Date: 2007-12-03 06:56:46 UTC
  • Revision ID: jorge@ubuntu.com-20071203065646-mupcnjcwgm5mnhyt
* Remove a bunch of .svn directories we no longer need.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/****************************************************************************
2
 
 |
3
 
 | Copyright (c) 2007 Novell, Inc.
4
 
 | All Rights Reserved.
5
 
 |
6
 
 | This program is free software; you can redistribute it and/or
7
 
 | modify it under the terms of version 2 of the GNU General Public License as
8
 
 | published by the Free Software Foundation.
9
 
 |
10
 
 | This program is distributed in the hope that it will be useful,
11
 
 | but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 
 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 
 | GNU General Public License for more details.
14
 
 |
15
 
 | You should have received a copy of the GNU General Public License
16
 
 | along with this program; if not, contact Novell, Inc.
17
 
 |
18
 
 | To contact Novell about this file by physical or electronic mail,
19
 
 | you may find current contact information at www.novell.com 
20
 
 |
21
 
 |      Author: Rob
22
 
 |***************************************************************************/
23
 
 
24
 
using System;
25
 
 
26
 
using log4net;
27
 
//using log4net.spi;
28
 
 
29
 
namespace Simias
30
 
{
31
 
        /// <summary>
32
 
        /// Simias Log Interface
33
 
        /// </summary>
34
 
        public interface ISimiasLog
35
 
        {
36
 
                /// <summary>
37
 
                /// Log a DEBUG level message.
38
 
                /// </summary>
39
 
                /// <param name="format">A string with optional format items.</param>
40
 
                /// <param name="args">An optional array of objects to format.</param>
41
 
                void Debug(string format, params object[] args);
42
 
 
43
 
                /// <summary>
44
 
                /// Log a INFO level message.
45
 
                /// </summary>
46
 
                /// <param name="format">A string with optional format items.</param>
47
 
                /// <param name="args">An optional array of objects to format.</param>
48
 
                void Info(string format, params object[] args);
49
 
 
50
 
                /// <summary>
51
 
                /// Log a WARN level message.
52
 
                /// </summary>
53
 
                /// <param name="format">A string with optional format items.</param>
54
 
                /// <param name="args">An optional array of objects to format.</param>
55
 
                void Warn(string format, params object[] args);
56
 
 
57
 
                /// <summary>
58
 
                /// Log a ERROR level message.
59
 
                /// </summary>
60
 
                /// <param name="format">A string with optional format items.</param>
61
 
                /// <param name="args">An optional array of objects to format.</param>
62
 
                void Error(string format, params object[] args);
63
 
 
64
 
                /// <summary>
65
 
                /// Log a FATAL level message.
66
 
                /// </summary>
67
 
                /// <param name="format">A string with optional format items.</param>
68
 
                /// <param name="args">An optional array of objects to format.</param>
69
 
                void Fatal(string format, params object[] args);
70
 
 
71
 
                /// <summary>
72
 
                /// Log a DEBUG level message.
73
 
                /// </summary>
74
 
                /// <param name="e">An exception associated with the message.</param>
75
 
                /// <param name="format">A string with optional format items.</param>
76
 
                /// <param name="args">An optional array of objects to format.</param>
77
 
                void Debug(Exception e, string format, params object[] args);
78
 
 
79
 
                /// <summary>
80
 
                /// Log a INFO level message.
81
 
                /// </summary>
82
 
                /// <param name="e">An exception associated with the message.</param>
83
 
                /// <param name="format">A string with optional format items.</param>
84
 
                /// <param name="args">An optional array of objects to format.</param>
85
 
                void Info(Exception e, string format, params object[] args);
86
 
 
87
 
                /// <summary>
88
 
                /// Log a WARN level message.
89
 
                /// </summary>
90
 
                /// <param name="e">An exception associated with the message.</param>
91
 
                /// <param name="format">A string with optional format items.</param>
92
 
                /// <param name="args">An optional array of objects to format.</param>
93
 
                void Warn(Exception e, string format, params object[] args);
94
 
 
95
 
                /// <summary>
96
 
                /// Log a ERROR level message.
97
 
                /// </summary>
98
 
                /// <param name="e">An exception associated with the message.</param>
99
 
                /// <param name="format">A string with optional format items.</param>
100
 
                /// <param name="args">An optional array of objects to format.</param>
101
 
                void Error(Exception e, string format, params object[] args);
102
 
 
103
 
                /// <summary>
104
 
                /// Log a FATAL level message.
105
 
                /// </summary>
106
 
                /// <param name="e">An exception associated with the message.</param>
107
 
                /// <param name="format">A string with optional format items.</param>
108
 
                /// <param name="args">An optional array of objects to format.</param>
109
 
                void Fatal(Exception e, string format, params object[] args);
110
 
        }
111
 
}