Пример #1
0
 public static void Destroy()
 {
     try
     {
         MacroLogger.Close();
     }
     catch (Exception e)
     {
         Console.WriteLine(e);
     }
 }
Пример #2
0
        public static void Writer(string LogMessage)
        {
            string time = DateTime.Now.ToString("h:mm:ss tt");

            try
            {
                MacroLogger.WriteLine($"{time} : {LogMessage}");
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
            }
        }