Exemple #1
0
 /// <summary>
 /// Reset logger singleton
 /// </summary>
 public static void ResetInstance()
 {
     LoggerDefault.ResetInstance();
 }
Exemple #2
0
 /// <summary>
 /// Load logger singleton from AppConfig
 /// </summary>
 /// <param name="sectionName">Section name in AppConfig</param>
 public static void LoadInstanceFromAppConfig(string sectionName = "LoggerConfigurationSection")
 {
     LoggerDefault.LoadInstanceFromAppConfig(sectionName);
 }
Exemple #3
0
 /// <summary>
 /// Set logger singleton instance
 /// </summary>
 /// <param name="newDefault">New instance</param>
 public static void SetInstance(Logger newDefault)
 {
     LoggerDefault.SetInstance(newDefault);
 }