static void Main(string[] args) { try { LogExample.Run(); ConfigExample.Run(); } catch (Exception e) { Log.Error(e); } }
public bool Active = true; //serialazable public void Notify(string message) { ConfigExample.Message(Settings.Server.Host, Settings.Server.Port, Settings.Server.Password?.Value, message); }
public bool Active = true; //serialazable public void Notify(string message) { ConfigExample.Email(Settings.Smtp.Host, Settings.Smtp.Port, Settings.Smtp.Password, message); }