5 namespace SiliconStudio.Core.Diagnostics
59 public string Module {
get; set; }
71 public string Text {
get; set; }
91 return string.Format(
"[{0}]: {1}: {2}{3}", Module, Type, Text,
Exception == null ? string.Empty : string.Format(
". {0}", Exception));
override string ToString()
Returns a System.String that represents this instance.
LogMessage()
Initializes a new instance of the LogMessage class.
LogMessage(string module, LogMessageType type, string text, Exception exception, CallerInfo callerInfo)
Initializes a new instance of the LogMessage class.
A class to store Caller Information attributes.
LogMessageType
Type of a LogMessage.
A base log message used by the logging infrastructure.
The base interface for log messages used by the logging infrastructure.
LogMessage(string module, LogMessageType type, string text)
Initializes a new instance of the LogMessage class.