Disable() public static method

public static Disable ( ) : bool
return bool
Exemplo n.º 1
0
 public void ApplyProfileUpdate()
 {
     Logger.V(">> AppManager.ApplyProfileUpdate");
     // XPath: /Profile/StartAuto
     ApplyProfileItemAutoStart();
     // XPath: /Profile/LogToFile
     if (m_profile.m_isLogToFile)
     {
         Logger.Enable(m_profile.m_logLevel);
     }
     else
     {
         Logger.Disable();
     }
     // restart current work mode, and update GUI
     Logger.I("AppManager.ApplyProfileUpdate :: "
              + "Trigger the current work mode restarting.");
     StartCurrentWorkMode();
     Logger.V("<< AppManager.ApplyProfileUpdate");
 }