我想使用 RollingMode.Date 按日期记录。但默认间隔是一分钟。我查看了源代码并看到,该类已保护枚举 RollPoint
/// <summary>
/// The code assumes that the following 'time' constants are in a increasing sequence.
/// </summary>
/// <remarks>
/// <para>
/// The code assumes that the following 'time' constants are in a increasing sequence.
/// </para>
/// </remarks>
protected enum RollPoint
{
InvalidRollPoint = -1,
TopOfMinute,
TopOfHour,
HalfDay,
TopOfDay,
TopOfWeek,
TopOfMonth
}
如何将 RollPoint 指定为 RollingFileAppender 对象?
谢谢!