Skip to content

Commit 11fadc9

Browse files
committed
Include body logging in the first call to log::infof
1 parent 5fa5b52 commit 11fadc9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/http/http.ino

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ void testHttp() {
6969
String body = HttpClient.readBody(512);
7070

7171
if (body != "") {
72-
Log.info("Body:\r\n");
73-
Log.raw(body);
72+
Log.infof("Body: %s\r\n", body.c_str());
7473
}
7574
}
7675

0 commit comments

Comments
 (0)