Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 865 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 865 Bytes

lag

Install:

  go get github.com/tscolari/lag

Usage:

  lag logfile.log

Navigation:

  • Q exits
  • arrow up/down moves cursor up/down
  • k/j moves cursor up/down (vim)
  • page up/down moves page up/down
  • enter zooms into the selected entry
  • l zooms into the selected entry (vim)
  • q zooms out from the selected entry
  • h zooms out from the selected entry (vim)
  • backspace zooms out from the selected entry
  • e filters for errored logs only (q to zoom out)
  • D filters out similar log entries (those that the message matches exactly the one under the cursor)
  • i toggle current selected entry's session information popup

Demo

DEMO