C# Class Loyc.TraceMessageSink

Sends all messages to System.Diagnostics.Trace.WriteLine(string).
Inheritance: IMessageSink
显示文件 Open project: qwertie/ecsharp

Public Properties

Property Type Description
Value TraceMessageSink

Public Methods

Method Description
IsEnabled ( Severity type ) : bool

Always returns true.

Write ( Severity type, object context, string format ) : void
Write ( Severity type, object context, string format, object arg0, object arg1 = null ) : void
WriteCore ( Severity type, object context, string text ) : void

Method Details

IsEnabled() public method

Always returns true.
public IsEnabled ( Severity type ) : bool
type Severity
return bool

Write() public method

public Write ( Severity type, object context, string format ) : void
type Severity
context object
format string
return void

Write() public method

public Write ( Severity type, object context, string format, object arg0, object arg1 = null ) : void
type Severity
context object
format string
arg0 object
arg1 object
return void

WriteCore() public method

public WriteCore ( Severity type, object context, string text ) : void
type Severity
context object
text string
return void

Property Details

Value public_oe static_oe property

public static TraceMessageSink,Loyc Value
return TraceMessageSink