Skip to content

Make Chrome log fancy. Demultiplex by process/thread + colorize.

License

Notifications You must be signed in to change notification settings

ArthurSonzogni/chrome-log-beautifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chrome-log-beautifier

travis issues license contributors Snap Status

Make Chrome logs fancy.

logo

Features:

  • Streaming supported. E.g. chrome 2>&1 | chrome-log-beautifier
  • Colorization.
  • Filter by:
    • Process & Thread
    • Log level

Potential improvements:

  • Save logs as txt / json
  • Support StackTraces. Find a way to smartly attribute the trace to its emitting thread.
  • Find the process type (browser, renderer, GPU). Is this possible?

Usage

chrome-log-beautifier logfile

Or you can even stream the logs:

chrome --v=2 2>&1 | chrome-log-beautifier

Installation:

Precompiled package

Debian and snap packages are available on this page.

Compile from source

Install build tools:

  sudo apt install git cmake build-essential

Build & install chrome-log-beautifier

  git clone https://github.com/ArthurSonzogni/chrome-log-beautifier
  cd chrome-log-beautifier
  mkdir build
  cd build
  cmake ..
  make -j
  sudo make install

About

Make Chrome log fancy. Demultiplex by process/thread + colorize.

Resources

License

Stars

Watchers

Forks

Packages

No packages published