Added LocalTime or UTC time display
This commit is contained in:
@@ -14,6 +14,11 @@ namespace EonaCat.Logger.Managers
|
||||
public event LogDelegate OnLog;
|
||||
public delegate void LogDelegate(EonaCatLogMessage message);
|
||||
|
||||
/// <summary>
|
||||
/// Determines if we need to use the local time in the logging or UTC (default:false)
|
||||
/// </summary>
|
||||
public bool UseLocalTime { get; set; }
|
||||
|
||||
public string Id { get; set; } = "EonaCatLogger";
|
||||
|
||||
/// <summary>
|
||||
@@ -135,7 +140,7 @@ namespace EonaCat.Logger.Managers
|
||||
}
|
||||
}
|
||||
|
||||
private FileLoggerOptions CreateDefaultFileLoggerOptions()
|
||||
private static FileLoggerOptions CreateDefaultFileLoggerOptions()
|
||||
{
|
||||
return new FileLoggerOptions();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user