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

Holds an argument list compatible with IMessageSink.Write. Typically used with MessageHolder. More...


Source file:
Inheritance diagram for Loyc.LogMessage:
Loyc.IHasLocation

Remarks

Holds an argument list compatible with IMessageSink.Write. Typically used with MessageHolder.

Public fields

readonly Severity Severity
 
readonly object Context
 
readonly string Format
 
readonly object[] _args
 

Properties

object[] Args [get]
 
string Formatted [get]
 
object Location [get]
 
- Properties inherited from Loyc.IHasLocation
object Location [get]
 

Public Member Functions

 LogMessage (Severity type, object context, string format, object arg0, object arg1=null)
 
 LogMessage (Severity type, object context, string format)
 
 LogMessage (Severity type, object context, string format, params object[] args)
 
override string ToString ()
 
void WriteTo (IMessageSink sink)