mirror of
https://git.lewd.wtf/PGR/ascnet
synced 2025-12-13 11:54:35 +01:00
add proper logger, saves to file as well
This commit is contained in:
18
AscNet.Logging/ILogger.cs
Normal file
18
AscNet.Logging/ILogger.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
namespace AscNet.Logging
|
||||
{
|
||||
public interface ILogger
|
||||
{
|
||||
void Debug(string message, string memberName = "");
|
||||
|
||||
void Error(string message, Exception ex = null, string memberName = "");
|
||||
|
||||
void Fatal(string message, Exception ex = null, string memberName = "");
|
||||
|
||||
void Info(string message, string memberName = "");
|
||||
|
||||
void Dispose();
|
||||
|
||||
void Warn(string message, Exception ex = null, string memberName = "");
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user