/// <summary> /// Remove all items from nested context /// </summary> public void Clear() { ContextNLog.Clear(); }
/// <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)); }
/// <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()); }
/// <summary> /// Remove all items from nested thread context /// </summary> public void Clear() { Context.Clear(); }