Skip to content

igorshapiro/logv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Real-time development log visualizer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published