C# Class Loyc.NullMessageSink

Discards all messages. However, there is a Count property that increases by one with each message received, as well as an ErrorCount.
Inheritance: IMessageSink, ICount
Exibir arquivo Open project: qwertie/ecsharp

Public Properties

Property Type Description
Value NullMessageSink

Public Methods

Method Description
IsEnabled ( Severity level ) : bool

Always returns false.

ResetCountersToZero ( ) : void
Write ( Severity level, object context, string format ) : void
Write ( Severity level, object context, string format, object arg0, object arg1 = null ) : void

Method Details

IsEnabled() public method

Always returns false.
public IsEnabled ( Severity level ) : bool
level Severity
return bool

ResetCountersToZero() public method

public ResetCountersToZero ( ) : void
return void

Write() public method

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

Write() public method

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

Property Details

Value public_oe static_oe property

public static NullMessageSink,Loyc Value
return NullMessageSink