NET Logging Library
XmlLog4NetLayout Field



KellermanSoftware.NetLoggingLibrary Namespace > MessageFormatList Class : XmlLog4NetLayout Field
XmlLog4NetLayout Message Format <log4net:event logger="LoggerName" timestamp="8601DateFormat" level="LogLevel" thread="ProcessName" domain="CurrentAppDomain" username="UserName"><log4net:message>Message</log4net:message><log4net:properties><log4net:data name="log4jmachinename" value="MachineName" /><log4net:data name="log4net:HostName" value="CurrentAppDomain" /><log4net:data name="log4net:UserName" value="UserName" /><log4net:data name="log4japp" value="AssemblyName" /></log4net:properties><log4net:locationInfo class="Namespace.ClassName" method="MethodName" file="FileName" line="LineNumber" /></log4net:event>NewLine
Syntax
Public Const XmlLog4NetLayout As String
Dim value As String
 
value = MessageFormatList.XmlLog4NetLayout
public const string XmlLog4NetLayout
public:
const String^ XmlLog4NetLayout
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MessageFormatList Class
MessageFormatList Members