Exemplo n.º 1
0
        protected void LogError(string source, string formatString, params object[] args)
        {
            _log.Error($"'{DatabaseInfo}' {source} - {formatString}", args);

            if (_buildServer != null)
            {
                _log.WriteRaw(LogLevel.Error, _buildServer.GenerateLogIssueErrorMessage(string.Format($"'{DatabaseInfo}' {source} - {formatString}", args)));
            }
        }