ArthurSonzogni / chrome-log-beautifier

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:MIT License


Languages

Language:C++ 88.0%Language:CMake 12.0%