7using System.Collections.Generic;
10using System.Threading.Tasks;
25 return DateTime.Now.ToString();
37 string output = String.Format(
"{0} [{1}] {2}", timestamp, logLevel, msg);
Helper functions for all loggers.
static string _GetTimeStamp()
Return a regular time stamp of the current time.
static string FormatLogLine(string logLevel, string msg)
Format a line for logging, including time stamp.
The namespace containing all Design Pattern Examples implemented in C#.