Quesma Log for request id ").Text(requestId)
if optAsyncId != nil {
- buffer.Text(" and async id '").Text(*optAsyncId).Html("'")
+ buffer.Write(generateSimpleTop("Log for request id " + requestId + " and async id " + *optAsyncId))
+ } else {
+ buffer.Write(generateSimpleTop("Log for request id " + requestId))
}
- buffer.Html("
")
} else {
- buffer.Html("\n
Quesma Log not found for ").Text(requestId).Html("
")
+ buffer.Write(generateSimpleTop("Log not found for request id " + requestId))
}
- buffer.Html("\n
\n")
buffer.Html(``)
buffer.Html("\n\n")
@@ -830,7 +836,7 @@ func (qmc *QuesmaManagementConsole) generateReportForRequestsWithStr(requestStr
}
qmc.mutex.Unlock()
- title := fmt.Sprintf("Quesma Report for str '%s' with %d results", requestStr, len(debugKeyValueSlice))
+ title := fmt.Sprintf("Report for str '%s' with %d results", requestStr, len(debugKeyValueSlice))
return qmc.generateReportForRequests(title, debugKeyValueSlice)
}
@@ -847,7 +853,7 @@ func (qmc *QuesmaManagementConsole) generateReportForRequestsWithError() []byte
}
qmc.mutex.Unlock()
- return qmc.generateReportForRequests("Quesma Report for requests with errors", debugKeyValueSlice)
+ return qmc.generateReportForRequests("Report for requests with errors", debugKeyValueSlice)
}
func (qmc *QuesmaManagementConsole) generateReportForRequestsWithWarning() []byte {
@@ -863,13 +869,12 @@ func (qmc *QuesmaManagementConsole) generateReportForRequestsWithWarning() []byt
}
qmc.mutex.Unlock()
- return qmc.generateReportForRequests("Quesma Report for requests with warnings", debugKeyValueSlice)
+ return qmc.generateReportForRequests("Report for requests with warnings", debugKeyValueSlice)
}
func (qmc *QuesmaManagementConsole) generateReportForRequests(title string, requests []DebugKeyValue) []byte {
buffer := newBufferWithHead()
- buffer.Html(`