public static IDisposable Push(object state) { var temp = Current; Current = new EventFlowLoggerScope(state); Current.Parent = temp; return(new DisposableScope()); }
public IDisposable BeginScope <TState>(TState state) { return(EventFlowLoggerScope.Push(state)); }