C# Class Endjin.Assembly.ChangeDetection.Infrastructure.TraceCfgParser

显示文件 Open project: endjin/Endjin.Assembly.ChangeDetection Class Usage Examples

Public Properties

Property Type Description
Filters System.Diagnostics.TraceFilter
NotFilters System.Diagnostics.TraceFilter
OutDevice System.Diagnostics.TraceListener
UseAppConfigListeners bool

Public Methods

Method Description
AddPIDAndAppDomainNameToFileName ( string file ) : string
CreateTraceFile ( string filebaseName ) : TextWriter
TraceCfgParser ( string config ) : System

Format string is of the form outDevice; type flag1+flag2+...;type flags; ... where flags are a combination of trace markers

Private Methods

Method Description
GetFilters ( string filters, int nSkip ) : string[]>>.IEnumerable
OpenOutputDevice ( string outDevice ) : void
ParseMsgTypeFilter ( string typeFilters ) : MessageTypes>.KeyValuePair

Method Details

AddPIDAndAppDomainNameToFileName() public static method

public static AddPIDAndAppDomainNameToFileName ( string file ) : string
file string
return string

CreateTraceFile() public static method

public static CreateTraceFile ( string filebaseName ) : TextWriter
filebaseName string
return System.IO.TextWriter

TraceCfgParser() public method

Format string is of the form outDevice; type flag1+flag2+...;type flags; ... where flags are a combination of trace markers
public TraceCfgParser ( string config ) : System
config string
return System

Property Details

Filters public_oe property

public TraceFilter,System.Diagnostics Filters
return System.Diagnostics.TraceFilter

NotFilters public_oe property

public TraceFilter,System.Diagnostics NotFilters
return System.Diagnostics.TraceFilter

OutDevice public_oe property

public TraceListener,System.Diagnostics OutDevice
return System.Diagnostics.TraceListener

UseAppConfigListeners public_oe property

public bool UseAppConfigListeners
return bool