Exemplo n.º 1
0
        /// <summary>
        /// Debugs the specified message.
        /// </summary>
        /// <param name="message">The message.</param>
        public static void Debug(string message)
        {
            message = FormatorHelper.InfoLog($"Debug: {message}");
            WriteToFile(InfoPath, message);

            System.Diagnostics.Debug.WriteLine(message);
        }
Exemplo n.º 2
0
        //private static List<string> messages = new List<string>();

        /// <summary>
        /// Informations the specified message.
        /// </summary>
        /// <param name="message">The message.</param>
        public static void Info(string message)
        {
            message = FormatorHelper.InfoLog($"Info: {Thread.CurrentThread.ManagedThreadId.ToString()} {message}");
            WriteToFile(InfoPath, message);

            Console.WriteLine(message);
        }