mirror of
https://github.com/Sanae6/SmoOnlineServer.git
synced 2024-11-12 22:55:06 +00:00
Shared/Logger: Add Debug log level
This commit is contained in:
parent
4656b8af40
commit
d3918dd5c6
1 changed files with 4 additions and 2 deletions
|
@ -9,9 +9,11 @@ public class Logger {
|
|||
|
||||
public string Name { get; set; }
|
||||
|
||||
public void Info(string text) => Handler?.Invoke(Name, "Info", text, ConsoleColor.White);
|
||||
public void Debug(string text) => Handler?.Invoke(Name, "Debug", text, ConsoleColor.White);
|
||||
|
||||
public void Warn(string text) => Handler?.Invoke(Name, "Warn", text, ConsoleColor.Yellow);
|
||||
public void Info(string text) => Handler?.Invoke(Name, "Info ", text, ConsoleColor.Cyan);
|
||||
|
||||
public void Warn(string text) => Handler?.Invoke(Name, "Warn ", text, ConsoleColor.Yellow);
|
||||
|
||||
public void Error(string text) => Handler?.Invoke(Name, "Error", text, ConsoleColor.Red);
|
||||
|
||||
|
|
Loading…
Reference in a new issue