From 309d7c0cd39d77720168a914401e8b6d917dfe9c Mon Sep 17 00:00:00 2001 From: Chris Plaatjes Date: Wed, 15 Feb 2023 12:17:08 -0500 Subject: [PATCH] Added better log messaging --- Program.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Program.cs b/Program.cs index f20a3d1..94eff1b 100644 --- a/Program.cs +++ b/Program.cs @@ -22,5 +22,12 @@ namespace TeleTok listener.RunListener(); } + + public static void LogMessage(string text) + { + DateTime now =DateTime.Now; + + Console.WriteLine("[" + now.ToString() + "] " + text); + } } } \ No newline at end of file