1
/****************************************************************************
3
| Copyright (c) 2007 Novell, Inc.
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.
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.
15
| You should have received a copy of the GNU General Public License
16
| along with this program; if not, contact Novell, Inc.
18
| To contact Novell about this file by physical or electronic mail,
19
| you may find current contact information at www.novell.com
22
|***************************************************************************/
32
/// Simias Log Interface
34
public interface ISimiasLog
37
/// Log a DEBUG level message.
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);
44
/// Log a INFO level message.
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);
51
/// Log a WARN level message.
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);
58
/// Log a ERROR level message.
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);
65
/// Log a FATAL level message.
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);
72
/// Log a DEBUG level message.
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);
80
/// Log a INFO level message.
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);
88
/// Log a WARN level message.
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);
96
/// Log a ERROR level message.
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);
104
/// Log a FATAL level message.
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);