Sicherung gnaz neu
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
using System.Text;
|
||||
using NLog;
|
||||
|
||||
namespace DJ.Resolver
|
||||
{
|
||||
public class MessageResolver : ILogEventInfoResolver
|
||||
{
|
||||
public string Resolve(LogEventInfo logEventInfo)
|
||||
{
|
||||
StringBuilder builder = new StringBuilder();
|
||||
builder.Append(logEventInfo.FormattedMessage);
|
||||
|
||||
if (logEventInfo.Exception != null)
|
||||
{
|
||||
builder.AppendLine().Append(logEventInfo.Exception);
|
||||
}
|
||||
|
||||
return builder.ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user