Add logging functionality with ILogger interface and implementations
This commit is contained in:
9
GameCore/Logging/Interfaces/ILogger.cs
Normal file
9
GameCore/Logging/Interfaces/ILogger.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace GameCore.Logging.Interfaces;
|
||||
|
||||
public interface ILogger
|
||||
{
|
||||
void Debug(string message);
|
||||
void Info(string message);
|
||||
void Warn(string message);
|
||||
void Error(string message, Exception? ex = null);
|
||||
}
|
||||
Reference in New Issue
Block a user