Esempio n. 1
0
 /// <summary>
 /// Writes to a file, rolling over to a new version of a file
 /// when the previous file has filled to capacity.
 /// Initializes a new instance of the <see cref="RollingFileLogger"/> class.
 /// </summary>
 /// <param name="fileNameFormatted">The file name formatted.</param>
 /// <param name="strategy">The strategy.</param>
 public RollingFileLogger(string fileNameFormatted, IRollOverStrategy strategy)
     : base(fileNameFormatted)
 {
     Strategy = strategy;
 }
Esempio n. 2
0
 /// <summary>
 /// Writes to a file, rolling over to a new version of a file
 /// when the previous file has filled to capacity.
 /// Initializes a new instance of the <see cref="RollingFileLogger"/> class.
 /// </summary>
 /// <param name="fileNameFormatted">The file name formatted.</param>
 /// <param name="strategy">The strategy.</param>
 public RollingFileLogger(string fileNameFormatted, IRollOverStrategy strategy)
     : base(fileNameFormatted)
 {
     Strategy = strategy;
 }