C# Class WebTraceMonitor.SystemDiagnosticsTraceListener.WebMonitorTraceListener

Inheritance: System.Diagnostics.TraceListener
Mostra file Open project: berndku/webtracemonitor

Public Methods

Method Description
Fail ( string message, string detailMessage ) : void
Flush ( ) : void
TraceData ( TraceEventCache eventCache, string source, TraceEventType eventType, int id ) : void
TraceData ( TraceEventCache eventCache, string source, TraceEventType eventType, int id, object data ) : void
TraceEvent ( TraceEventCache eventCache, string source, TraceEventType eventType, int id ) : void
TraceEvent ( TraceEventCache eventCache, string source, TraceEventType eventType, int id, string message ) : void
TraceTransfer ( TraceEventCache eventCache, string source, int id, string message, System.Guid relatedActivityId ) : void
WebMonitorTraceListener ( ) : System
Write ( string message ) : void
Write ( string message, string category ) : void
WriteLine ( string message ) : void
WriteLine ( string message, string category ) : void

Protected Methods

Method Description
CreateTraceMsg ( string source, TraceEventType eventType, string message, string category, int id ) : TraceMessage
GetSupportedAttributes ( ) : string[]
MapEventTypeToString ( TraceEventType eventType ) : string
SendTrace ( string source, TraceEventType eventType, string message, string category, int id ) : void

Private Methods

Method Description
BeginGetRequestStreamCallback ( IAsyncResult asyncResult ) : void
BeginGetResponseCallback ( IAsyncResult asyncResult ) : void
ReadAzureConfiguration ( ) : void
RoleEnvironment_Changed ( object sender, RoleEnvironmentChangedEventArgs e ) : void

Method Details

CreateTraceMsg() protected method

protected CreateTraceMsg ( string source, TraceEventType eventType, string message, string category, int id ) : TraceMessage
source string
eventType TraceEventType
message string
category string
id int
return TraceMessage

Fail() public method

public Fail ( string message, string detailMessage ) : void
message string
detailMessage string
return void

Flush() public final method

public final Flush ( ) : void
return void

GetSupportedAttributes() protected method

protected GetSupportedAttributes ( ) : string[]
return string[]

MapEventTypeToString() protected method

protected MapEventTypeToString ( TraceEventType eventType ) : string
eventType TraceEventType
return string

SendTrace() protected method

protected SendTrace ( string source, TraceEventType eventType, string message, string category, int id ) : void
source string
eventType TraceEventType
message string
category string
id int
return void

TraceData() public final method

public final TraceData ( TraceEventCache eventCache, string source, TraceEventType eventType, int id ) : void
eventCache System.Diagnostics.TraceEventCache
source string
eventType TraceEventType
id int
return void

TraceData() public final method

public final TraceData ( TraceEventCache eventCache, string source, TraceEventType eventType, int id, object data ) : void
eventCache System.Diagnostics.TraceEventCache
source string
eventType TraceEventType
id int
data object
return void

TraceEvent() public final method

public final TraceEvent ( TraceEventCache eventCache, string source, TraceEventType eventType, int id ) : void
eventCache System.Diagnostics.TraceEventCache
source string
eventType TraceEventType
id int
return void

TraceEvent() public final method

public final TraceEvent ( TraceEventCache eventCache, string source, TraceEventType eventType, int id, string message ) : void
eventCache System.Diagnostics.TraceEventCache
source string
eventType TraceEventType
id int
message string
return void

TraceTransfer() public final method

public final TraceTransfer ( TraceEventCache eventCache, string source, int id, string message, System.Guid relatedActivityId ) : void
eventCache System.Diagnostics.TraceEventCache
source string
id int
message string
relatedActivityId System.Guid
return void

WebMonitorTraceListener() public method

public WebMonitorTraceListener ( ) : System
return System

Write() public final method

public final Write ( string message ) : void
message string
return void

Write() public final method

public final Write ( string message, string category ) : void
message string
category string
return void

WriteLine() public method

public WriteLine ( string message ) : void
message string
return void

WriteLine() public final method

public final WriteLine ( string message, string category ) : void
message string
category string
return void