Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8ffc51f

Browse files
updated trace() method with info() (#42)
1 parent 58c14c9 commit 8ffc51f

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‎

Lines changed: 2 additions & 3 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /