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

A message sink that sends its messages to a list of other sinks. More...


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

Remarks

A message sink that sends its messages to a list of other sinks.

Properties

IList< IMessageSinkList [get]
 

Public Member Functions

 MessageSplitter (IEnumerable< IMessageSink > targets)
 
 MessageSplitter (params IMessageSink[] targets)
 
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)
 Returns true if s.IsEnabled(type) is true for at least one target message sink 's'. More...
 

Member Function Documentation

bool Loyc.MessageSplitter.IsEnabled ( Severity  type)
inline

Returns true if s.IsEnabled(type) is true for at least one target message sink 's'.