mirror of
https://github.com/Stone-Red-Code/RemSox.git
synced 2026-09-04 09:06:23 +02:00
Add logging system
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace RemSox.Logging
|
||||
{
|
||||
public interface ILogger
|
||||
{
|
||||
void Log(string message, LogSeverity severity);
|
||||
|
||||
void LogInfo(string message);
|
||||
|
||||
void LogError(string message);
|
||||
|
||||
void LogWarning(string message);
|
||||
|
||||
IEnumerable<LogEntry> GetLogs(int? count = null);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user