예제 #1
0
 public void LogInfo(string logText)
 {
     if (LogLevel <= LogType.Info)
     {
         OnLogEventCreated?.Invoke(LogType.Info, logText);
     }
 }
예제 #2
0
 public void LogWarning(string logText)
 {
     if (LogLevel <= LogType.Warning)
     {
         OnLogEventCreated?.Invoke(LogType.Warning, logText);
     }
 }
예제 #3
0
 public void LogDebug(string logText)
 {
     if (LogLevel == LogType.Debug)
     {
         OnLogEventCreated?.Invoke(LogType.Debug, logText);
     }
 }
예제 #4
0
 public void LogError(string logText)
 {
     OnLogEventCreated?.Invoke(LogType.Error, logText);
 }