Skip to content

Commit 0f62bb4

Browse files
committed
updated trace() method with info()
1 parent 58c14c9 commit 0f62bb4

File tree

1 file changed

+2
-3
lines changed
  • src/test/java/io/github/mfaisalkhatri/api/restfulecommerce

1 file changed

+2
-3
lines changed

src/test/java/io/github/mfaisalkhatri/api/restfulecommerce/Logger.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public Logger (final APIResponse response) {
1717
}
1818

1919
public void logResponseDetails() {
20-
this.log.trace ("Logging Response Details.....");
20+
this.log.info ("Logging Response Details.....");
2121

2222
this.log.info ("Response Headers: \n{}", this.response.headers ());
2323
this.log.info ("Status Code: {}", this.response.status ());
@@ -26,7 +26,7 @@ public void logResponseDetails() {
2626
.isBlank ()) {
2727
this.log.info ("Response Body: \n{}", prettyPrintJson (this.response.text ()));
2828
}
29-
this.log.trace ("End of Logs!");
29+
this.log.info ("End of Logs!");
3030
}
3131

3232
private String prettyPrintJson (final String text) {
@@ -44,6 +44,5 @@ private String prettyPrintJson (final String text) {
4444
}
4545
this.log.info ("No response body generated!");
4646
return null;
47-
4847
}
4948
}

0 commit comments

Comments
 (0)