Esempio n. 1
0
        static void LogNodeHistoricalUpdate(int requestCount, string nodeName, DateTime startDate, DateTime endDate)
        {
            var message = String.Format("Added {0} missing days for node {1} between {2} and {3}", requestCount, nodeName, startDate.ToShortDateString(), endDate.ToShortDateString());

            _slackClient.PostMessage(message, "Sun");
            Console.WriteLine(message);
        }
Esempio n. 2
0
        static void LogToSlack()
        {
            var message = "TEST";

            _slackClient.PostMessage(message, "Sun");
            Console.WriteLine(message);
        }