Esempio n. 1
0
        public TraceWriter(DashboardLogger traceListener, HttpContext context)
        {
            this.context = context;

            writer = new StreamWriter(context.Response.Body);

            this.traceListener = traceListener;
            this.traceListener.Add(Write);
        }
Esempio n. 2
0
 public TraceWriter(DashboardLogger traceListener, HttpContext context)
 {
     this.traceListener = traceListener;
     this.traceListener.Add(Write);
     this.context = context;
 }