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

A message sink that puts the messages it receives in a list. More...


Source file:
Inheritance diagram for Loyc.MessageHolder:
Loyc.IMessageSink< in in TContext > Loyc.ICloneable< MessageHolder >

Remarks

A message sink that puts the messages it receives in a list.

Properties

IList< LogMessage >?? List [get]
 

Public Member Functions

void WriteListTo (IMessageSink sink)
 
void Write (Severity level, object context, string format)
 
void Write (Severity level, object context, string format, object arg0, object arg1=null)
 
void Write (Severity level, object context, string format, params object[] args)
 
bool IsEnabled (Severity level)
 Always returns true. More...
 
MessageHolder Clone ()
 
- Public Member Functions inherited from Loyc.IMessageSink< in in TContext >
void Write (Severity level, TContext context, [Localizable] string format)
 Writes a message to the target that this object represents. More...
 
void Write (Severity level, TContext context, [Localizable] string format, object arg0, object arg1=null)
 
void Write (Severity level, TContext context, [Localizable] string format, params object[] args)
 
- Public Member Functions inherited from Loyc.ICloneable< MessageHolder >
Clone ()
 

Member Function Documentation

◆ IsEnabled()

bool Loyc.MessageHolder.IsEnabled ( Severity  level)
inline

Always returns true.

Implements Loyc.IMessageSink< in in TContext >.