14 lines
373 B
C#
14 lines
373 B
C#
namespace DTLib.Logging;
|
|
|
|
public interface ILogger : IDisposable
|
|
{
|
|
|
|
ILogFormat Format { get; set; }
|
|
bool DebugLogEnabled { get; set; }
|
|
bool InfoLogEnabled { get; set; }
|
|
bool WarnLogEnabled { get; set; }
|
|
bool ErrorLogEnabled { get; set; }
|
|
|
|
void Log(string context, LogSeverity severity, object message, ILogFormat format);
|
|
|
|
} |