File tree Expand file tree Collapse file tree 3 files changed +1
-25
lines changed
Expand file tree Collapse file tree 3 files changed +1
-25
lines changed Original file line number Diff line number Diff line change 1313
1414namespace Ical . Net . Tests . Logging . Tests ;
1515
16- /// LoggingProvider.SetLoggerFactory is static and gets
1716/// <summary>
1817/// LoggingProvider.SetLoggerFactory is static and gets
1918/// <list type="bullet">
Original file line number Diff line number Diff line change @@ -22,29 +22,6 @@ internal sealed class TestLoggingManager : TestLoggingManagerBase
2222 public TestLoggingManager ( ) : this ( options : null )
2323 { }
2424
25- /// <summary>
26- /// Creates a new instance of the <see cref="TestLoggingManager"/> class with a specified log file.
27- /// </summary>
28- public TestLoggingManager ( string logFile ) : this ( logFile , options : null )
29- { }
30-
31- /// <summary>
32- /// Creates a new instance of the <see cref="TestLoggingManager"/> class with a specified log file.
33- /// </summary>
34- /// <param name="logFile">
35- /// The relative or absolute path of the file to store the logs.
36- /// An existing file will be deleted before logging starts.
37- /// </param>
38- /// <param name="options">
39- /// The options for configuring the logging behavior.
40- /// May be <see langword="null"/> to use default options.
41- /// </param>
42- public TestLoggingManager ( string logFile , Options ? options )
43- : base ( options )
44- {
45- ( options ?? new Options ( ) ) . LogToFileLogPath = logFile ;
46- }
47-
4825 /// <summary>
4926 /// Creates a new instance of the <see cref="TestLoggingManager"/> class with an in-memory log target.
5027 /// </summary>
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ namespace Ical.Net.Tests.Logging;
1414/// </summary>
1515/// <remarks>
1616/// The <see cref="TestLoggingManagerBase"/> class initializes a logging configuration using
17- /// NLog and provides a logger factory that can be used to create loggers.
17+ /// an underlying logging library and provides a logger factory that can be used to create loggers.
1818/// It supports custom logging rules and stores logs in memory for retrieval.
1919/// </remarks>
2020internal abstract class TestLoggingManagerBase : IDisposable
You can’t perform that action at this time.
0 commit comments