private void Log(string message)
        {
            if (string.IsNullOrWhiteSpace(message))
            {
                return;
            }

            _messages.Append(string.Concat(
                                 message.IsJsonString() ? string.Empty : "// ",
                                 message,
                                 Environment.NewLine));
        }
예제 #2
0
        private void Log(string message)
        {
            if (string.IsNullOrWhiteSpace(message))
            {
                return;
            }

            _messages.Append(string.Concat(
                                 message.IsJsonString() ? string.Empty : "// ",
                                 DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.ffff - "),
                                 message,
                                 Environment.NewLine));
        }