Aspectacular.AspNetTraceAspect.Output C# (CSharp) Method

Output() protected method

protected Output ( string output ) : void
output string
return void
        protected override void Output(string output)
        {
            if(HttpContext.Current == null)
                return;

            EntryType? worstCase = this.WorstEntryType;

            if(worstCase == null)
                return;

            if(worstCase.Value == EntryType.Info)
                HttpContext.Current.Trace.Write(output);
            else
                HttpContext.Current.Trace.Warn(output);
        }