Skip to content
This repository has been archived by the owner on Aug 26, 2024. It is now read-only.

tscolari/lag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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