Fix newlines
This commit is contained in:
parent
4d53e2c403
commit
6881200563
@ -38,7 +38,8 @@ void requestlogging::addEntry(RequestContext context) {
|
||||
QTextStream(&requestFile) << ioutils::methodString(context.reply->operation()) << " " // $type
|
||||
<< context.reply->url().toString() << " " // $url
|
||||
<< context.reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt() << " " // $status
|
||||
<< timeNow.replace(" ", "_"); // $time
|
||||
<< timeNow.replace(" ", "_") << endl
|
||||
<< flush; // $time
|
||||
requestFile.close();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user