/// <summary> /// Deactivates the log tags by removing the supplied tags from those already active. /// </summary> /// <param name="tagNames">The tag names</param> public static void DeactivateLogTags(IEnumerable <string> tagNames) { foreach (string tagName in tagNames) { ActiveLogTags.Remove(tagName); } }
/// <summary> /// Deactivates the log tag by removing it from the list of those already active. /// </summary> /// <param name="tagName">Name of the tag - null not allowed!.</param> public static void DeactivateLogTag(string tagName) { ActiveLogTags.Remove(tagName); }
/// <summary> /// Deactivates the log tag by removing it from the list of those already active. /// </summary> /// <param name="tag">The tag to deactivate</param> public static void DeactivateLogTag(LogTag tag) { ActiveLogTags.Remove(tag.Name); }