/// <summary> /// Print the message onto the console /// </summary> /// <param name="level">The log level</param> /// <param name="message">The message to print</param> private static String PrintLog(LogLevel level, String message) { return($"{level.ConvertString()}::{PingerWatchdog.Config.Site} @ {DateTime.Now}: {message}"); }