internal static void OnWriteLine(LoggerArgs e) { if (WriteLine != null && e.Level <= _logLevel) { WriteLine.Invoke(e.ToString()); } }
internal static void OnCustomLogging(LoggerArgs e) { CustomLogging?.Invoke(e); // Try sending it to the simpler WriteLine event OnWriteLine(e); }