예제 #1
0
 /// <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);
     }
 }
예제 #2
0
 /// <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);
 }
예제 #3
0
 /// <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);
 }