Updated
This commit is contained in:
@@ -37,7 +37,7 @@ namespace EonaCat.Logger.EonaCatCoreLogger.Internal
|
||||
throw new ArgumentOutOfRangeException(nameof(loggerOptions.FlushPeriod), $"{nameof(loggerOptions.FlushPeriod)} must be longer than zero.");
|
||||
}
|
||||
|
||||
if (options is FileLoggerOptions fileLoggerOptions)
|
||||
if (options.Value is FileLoggerOptions fileLoggerOptions)
|
||||
{
|
||||
UseLocalTime = fileLoggerOptions.UseLocalTime;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user