Skip to content

Commit

Permalink
improve the format of the logging message (#869)
Browse files Browse the repository at this point in the history
  • Loading branch information
shellandbull authored and samselikoff committed Sep 4, 2016
1 parent faad238 commit c64190b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function createPretender(server) {

this.handledRequest = function(verb, path, request) {
if (server.shouldLog()) {
console.log(`Successful request: ${verb.toUpperCase()} ${request.url}`);
console.log(`Mirage: [${request.status}] ${verb.toUpperCase()} ${request.url}`);
let { responseText } = request;
let loggedResponse;

Expand Down

0 comments on commit c64190b

Please sign in to comment.