public override string ToString() { return(String.Format("{0} - {1} - {2}", LogDateTime.ToString("yyyyMMdd - HHmmss"), LogLevel, Message)); }
public override string ToString() { var time = LogDateTime.ToString(new CultureInfo("uk-UA")) + ", " + LogDateTime.Kind; return(string.Format($"====\nDate: {time}; \nLogLevel: {Level.ToString()}; \nMessage: {Message}.\n====")); }