Esempio n. 1
0
 /// <summary>
 ///     Enables logging.
 /// </summary>
 void IDisposable.Dispose()
 {
     factory.EnableLogging();
 }
Esempio n. 2
0
 /// <summary>Increases the log enable counter and if it reaches 0 the logs are disabled.</summary>
 /// <remarks>
 ///     Logging is enabled if the number of <see cref="EnableLogging" /> calls is greater
 ///     than or equal to <see cref="DisableLogging" /> calls.
 /// </remarks>
 public static void EnableLogging()
 {
     globalFactory.EnableLogging();
 }