Enhanced C#
Language of your choice: library documentation
Properties | Public Member Functions | List of all members
Loyc.NullMessageSink Class Reference

Discards all messages. However, there is a Count property that increases by one with each message received, as well as an ErrorCount. More...


Source file:
Inheritance diagram for Loyc.NullMessageSink:
Loyc.IMessageSink< in in TSeverity, in in TContext > Loyc.Collections.ICount Loyc.Collections.IIsEmpty

Remarks

Discards all messages. However, there is a Count property that increases by one with each message received, as well as an ErrorCount.

Properties

int Count [get]
 
int ErrorCount [get]
 
bool IsEmpty [get]
 
- Properties inherited from Loyc.Collections.ICount
int Count [get]
 Gets the number of items in the collection. More...
 
- Properties inherited from Loyc.Collections.IIsEmpty
bool IsEmpty [get]
 

Public Member Functions

void ResetCountersToZero ()
 
void Write (Severity type, object context, string format)
 
void Write (Severity type, object context, string format, object arg0, object arg1=null)
 
void Write (Severity type, object context, string format, params object[] args)
 
bool IsEnabled (Severity type)
 Always returns false. More...
 

Member Function Documentation

bool Loyc.NullMessageSink.IsEnabled ( Severity  type)
inline

Always returns false.