merge from 2023-03-14
This commit is contained in:
@@ -28,6 +28,13 @@ public static class LoggingConfigureExtensions
|
||||
writeError.UseRollbackFileName(Path.GetFileNameWithoutExtension(writeError.CurrentFileName) + "-oops" + Path.GetExtension(writeError.CurrentFileName));
|
||||
};
|
||||
});
|
||||
// 日志监听
|
||||
// services.AddMonitorLogging(options =>
|
||||
//{
|
||||
// options.IgnorePropertyNames = new[] { "Byte" };
|
||||
// options.IgnorePropertyTypes = new[] { typeof(byte[]) };
|
||||
//});
|
||||
|
||||
return services;
|
||||
}
|
||||
private static string LoggerLevelName(LogLevel level)
|
||||
|
||||
Reference in New Issue
Block a user