Exemple #1
0
 /// <summary>
 /// Remove all items from nested context
 /// </summary>
 public void Clear()
 {
     ContextNLog.Clear();
 }
Exemple #2
0
 /// <summary>Pushes a new context message into this stack.</summary>
 /// <param name="text">The new context message text.</param>
 /// <returns>
 /// An <see cref="T:System.IDisposable" /> that can be used to clean up the context stack.
 /// </returns>
 public IDisposable Push(string text)
 {
     return(ContextNLog.Push(text));
 }
Exemple #3
0
 /// <summary>Removes the top context from this stack.</summary>
 /// <returns>The message in the context that was removed from the top of this stack.</returns>
 public string Pop()
 {
     return(ContextNLog.Pop());
 }
Exemple #4
0
 /// <summary>
 /// Remove all items from nested thread context
 /// </summary>
 public void Clear()
 {
     Context.Clear();
 }