Exemple #1
0
        public void Error(string msg)
        {
            if (msg == null)
            {
                msg = "";
            }

            _hs.WriteLogEx(Utility.PluginName + "-Error", msg, RedColor);

            ToFileIfLogToFileEnabled(msg, LogType.Error);


            Console.WriteLine($"Error: {msg}");
        }
Exemple #2
0
 public void LogError(string message)
 {
     _hs.WriteLogEx(Utility.PluginName + "-Error", message, RedColor);
 }