|
namespace DbKeeperNet.Engine
{
/// <summary>
/// Contract definition for logging services.
/// </summary>
public interface ILoggingService
{
/// <summary>
/// Logging service name. Thru this value is
/// service referenced in configuration file.
/// </summary>
string Name { get; }
/// <summary>
/// Write an information message thru this logging
/// service.
/// </summary>
/// <param name="format">Standard .NET format string</param>
/// <param name="p">Parameters referenced in format string.</param>
void TraceInformation(string format, params object[] p);
/// <summary>
/// Write an error message thru this logging
/// service.
/// </summary>
/// <param name="format">Standard .NET format string</param>
/// <param name="p">Parameters referenced in format string.</param>
void TraceError(string format, params object[] p);
/// <summary>
/// Write an warning message thru this logging
/// service.
/// </summary>
/// <param name="format">Standard .NET format string</param>
/// <param name="p">Parameters referenced in format string.</param>
void TraceWarning(string format, params object[] p);
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I'm software developer since 1996. I started with assembler on Intel 8051 CPUs, during years I was interested in C, C++, Sybase PowerBuilder, PHP, Sybase Anywhere Database, MSSQL server and multiplatform development.
Currently I'm developing in C++ and C# (this is my favorit and I spent some time with MCPD achievement). I'm also interested in design patterns.