Skip to content
Myr

fix(logger): removing spaces from logger (#3334)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Marcel Overdijk · committed by GitHub · parent 72f4c9d · Browse files · 2 files+12 added−12 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+12 added−12 removed

  • tests:+10 added−10 removed
  • other:+2 added−2 removed

2 files+12 added−12 removed

modified:src/middleware/logger/index.test.ts+10 added-10 removed
modified:src/middleware/logger/index.ts+2 added-2 removed
53 unmodified lines
54 elapsed?: string55) {56 const out =57 prefix === LogPrefix.Incoming58 ? ` ${prefix} ${method} ${path}`59 : ` ${prefix} ${method} ${path} ${colorStatus(status)} ${elapsed}`58 ? `${prefix} ${method} ${path}`59 : `${prefix} ${method} ${path} ${colorStatus(status)} ${elapsed}`60 fn(out)61}6263/**
30 unmodified lines