Пример #1
0
        internal static string BuildLine(string message, MessageStatus status = MessageStatus.Default)
        {
            if (ShowStatus)
            {
                message = $"{status.GetStatusText()} {message}".Trim();
            }
            if (ShowTime)
            {
                message = $"{DateTime.Now.ToString(TimeFormat)} {message}".Trim();
            }

            return(message);
        }