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

A decorator (wrapper) for IMessageSink that filters out some messages if their Severity is too low, according to the value of the MinSeverity property. More...


Source file:
Inheritance diagram for Loyc.SeverityMessageFilter:
Loyc.IMessageSink< in in TSeverity, in in TContext >

Remarks

A decorator (wrapper) for IMessageSink that filters out some messages if their Severity is too low, according to the value of the MinSeverity property.

Properties

IMessageSink Target [get, set]
 
Severity MinSeverity [get, set]
 

Public Member Functions

 SeverityMessageFilter (IMessageSink target, Severity minSeverity)
 
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)