Redid the logging system
This commit is contained in:
17
SharedLibrary/Interfaces/ILogger.cs
Normal file
17
SharedLibrary/Interfaces/ILogger.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SharedLibrary.Interfaces
|
||||
{
|
||||
public interface ILogger
|
||||
{
|
||||
void WriteVerbose(string msg);
|
||||
void WriteInfo(string msg);
|
||||
void WriteDebug(string msg);
|
||||
void WriteWarning(string msg);
|
||||
void WriteError(string msg);
|
||||
}
|
||||
}
|
@ -11,6 +11,7 @@ namespace SharedLibrary.Interfaces
|
||||
void Init();
|
||||
void Start();
|
||||
void Stop();
|
||||
ILogger GetLogger();
|
||||
List<Server> GetServers();
|
||||
List<Command> GetCommands();
|
||||
IPenaltyList GetClientPenalties();
|
||||
|
Reference in New Issue
Block a user