Beispiel #1
0
    public static void Write(string text, ConsoleColor color = ConsoleColor.White)
    {
        MainLog.Add(text);

        foreach (var log in AlternativeLogs)
        {
            log.Value.WriteLine(text);
        }

        OnLogEvent?.Invoke(text, color);
    }