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

Sends all messages to System.Diagnostics.Trace.WriteLine(string). More...


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

Remarks

Sends all messages to System.Diagnostics.Trace.WriteLine(string).

Public static fields

static readonly TraceMessageSink Value = new TraceMessageSink()
 

Public Member Functions

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)
 
void WriteCore (Severity type, object context, string text)
 
bool IsEnabled (Severity type)
 Always returns true. More...
 
- 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)
 

Member Function Documentation

◆ IsEnabled()

bool Loyc.TraceMessageSink.IsEnabled ( Severity  type)
inline

Always returns true.

Implements Loyc.IMessageSink< in in TContext >.