public void WriteLine(string category, string msg) { if (string.IsNullOrEmpty(category) && string.IsNullOrEmpty(msg)) { Logging.LogNullError(nameof(category) + " && " + nameof(msg)); return; } Logging.LogGenericDebug(category + " | " + msg, nameof(DebugListener)); }