roadie/RoadieLibrary/Logging/ILogger.cs

27 lines
941 B
C#
Raw Normal View History

2018-11-03 21:21:36 +00:00
using System;
using System.Collections.Generic;
using System.Text;
namespace Roadie.Library.Logging
{
public interface ILogger
{
string Name { get; }
void Debug(string message);
void Debug(string message, params object[] args);
void Error(string message);
void Error(string message, params object[] args);
void Error(Exception exception, string message = null, bool isStackTraceIncluded = true);
void Fatal(string message);
void Fatal(string message, params object[] args);
void Fatal(Exception exception, string message = null, bool isStackTraceIncluded = true);
void Info(string message);
void Info(string message, params object[] args);
void Trace(string message);
void Trace(string message, params object[] args);
void Warning(string message);
void Warning(string message, params object[] args);
}
}