internal sealed classLog_DateTimeParam : PatternLayoutConverter
{//Methods
protected override voidConvert(TextWriter writer, LoggingEvent loggingEvent)
{
Log content= loggingEvent.MessageObject asLog;if (content != null)
{
writer.Write(content.Log_DateTime);
}
}
}internal sealed classLog_ThreadParam : PatternLayoutConverter
{protected override voidConvert(TextWriter writer, LoggingEvent loggingEvent)
{
Log content= loggingEvent.MessageObject asLog;if (content != null)
{
writer.Write(content.Log_Thread);
}
}
}internal sealed classLog_LevelParam : PatternLayoutConverter
{protected override voidConvert(TextWriter writer, LoggingEvent loggingEvent)
{
Log content= loggingEvent.MessageObject asLog;if (content != null)
{
writer.Write(content.Log_Level);
}
}
}internal sealed classLog_LoggerParam : PatternLayoutConverter
{protected override voidConvert(TextWriter writer, LoggingEvent loggingEvent)
{
Log content= loggingEvent.MessageObject asLog;if (content != null)
{
writer.Write(content.Log_Logger);
}
}
}internal sealed classLog_MessageParam : PatternLayoutConverter
{protected override voidConvert(TextWriter writer, LoggingEvent loggingEvent)
{
Log content= loggingEvent.MessageObject asLog;if (content != null)
{
writer.Write(content.Log_Message);
}
}
}