예제 #1
0
        /// <inheritdoc />
        protected override void ClearLog()
        {
            // Delete the old file
            File.Delete(_logFileOptions.Path);

            // Build new one
            LogFileBuilder.BuildOne(_logFileOptions);
        }
예제 #2
0
 public LogFile(LogFileOptions logFileOptions)
 {
     _logFileOptions = logFileOptions;
     LogFileBuilder.BuildOne(logFileOptions);
 }