Skip to content

Latest commit

 

History

History
56 lines (42 loc) · 1.14 KB

README.md

File metadata and controls

56 lines (42 loc) · 1.14 KB

LogV Alpha

Developer tool for better real-time log visualization.

Screenshot

Note: currently only Rails logs are supported. But you're welcome to contribute a parser for your framework.

Installation

npm install -g logv

Usage

cat some.log | logv

or

rails s | logv

Press ESCape for command mode

Commands

Available commands are:

  • show [list of constraints]
    • Example: show verb=GET path=~users
  • hide [list of contraints]
    • Example: hide verb=GET path=~status
  • reset
    • Resets the filters and shows last 1000 items
  • clear
    • Clears the list

Features:

  • Transforms all log records to Javascript objects, which allows you to
    • Include/exclude them based on attributes
    • query them
  • Scopes
    • All logging for a single request can be rendered as 1 expandable line
  • Custom highlighting of log records (like SQL, JSON, XML, stacktraces)
  • Extendable - you can create a parser for your own log format
  • Can run on your server/development machine
  • Piping - just do
  rails s | logv

...and enjoy