Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>xloggerNew to Visual Studio Code? Get it now.
xlogger

xlogger

Shubham Basu

|
5 installs
| (0) | Free
xlogger Prettifier
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

xlogger

VS Code extension to pretty print JSON and structured logs (xLogger style).

  • Supports both JSON and plain logs
  • Works with Shift+X

Convert

{"timestamp":"2025-07-03T22:11:17.789+0530","level":"ERROR","pod":"AEB-M5EP3C54","cid":"01JZ8JKXPXBSG6GTNZMC24XJXB","msg":"Message Got Issue with stack trace","error":"gchild error","context":{"key":"value HUlaa","keyb":"valueb","keyc":"valuec"},"stacktrace":{"main.child":"/Users/bshu2394/Documents/Office/go-kitcore/logger/example/example.go:69","main.grandChild":"/Users/bshu2394/Documents/Office/go-kitcore/logger/example/example.go:73","main.main":"/Users/bshu2394/Documents/Office/go-kitcore/logger/example/example.go:60"}}```

to


[2025-07-03T22:11:17.789+0530] ERROR: Message Got Issue with stack trace
 CID:  01JZ8JKXPXBSG6GTNZMC24XJXB
 POD:  AEB-M5EP3C54
 CTX:  key: value HUlaa
       keyb: valueb
       keyc: valuec
 ERR:  gchild error 
 
 Stacktrace:
  main.child
       /Users/bshu2394/Documents/Office/go-kitcore/logger/example/example.go:69
  main.grandChild
       /Users/bshu2394/Documents/Office/go-kitcore/logger/example/example.go:73
  main.main
       /Users/bshu2394/Documents/Office/go-kitcore/logger/example/example.go:60
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft