NLog.LogManager.EnableLogging C# (CSharp) Méthode

EnableLogging() public static méthode

Increases the log enable counter and if it reaches 0 the logs are disabled.
Logging is enabled if the number of EnableLogging calls is greater than or equal to DisableLogging calls.
public static EnableLogging ( ) : void
Résultat void
        public static void EnableLogging()
        {
            factory.ResumeLogging();
        }