コード例 #1
0
        public static IDisposable Push(object state)
        {
            var temp = Current;

            Current        = new HttpLoggerScope(state);
            Current.Parent = temp;

            return(new DisposableScope());
        }
コード例 #2
0
 public IDisposable BeginScope <TState>(TState state)
 {
     return(HttpLoggerScope.Push(state));
 }