Sicherung
This commit is contained in:
12
FSI.Lib/NLogViewer/Resolver/TimeStampResolver.cs
Normal file
12
FSI.Lib/NLogViewer/Resolver/TimeStampResolver.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using NLog;
|
||||
|
||||
namespace DJ.Resolver
|
||||
{
|
||||
public class TimeStampResolver : ILogEventInfoResolver
|
||||
{
|
||||
public string Resolve(LogEventInfo logEventInfo)
|
||||
{
|
||||
return logEventInfo.TimeStamp.ToString("dd-MM-yyyy hh:mm:ss.fff");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user