Skip to content

looshi/looshis-local-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

looshis-local-logger

NPM Version NPM Downloads

View and filter logs in a browser during local development.

browser window showing logs

Install

npm i -g looshis-local-logger

How To Use

./your-app |& lll
# LLL is ready at: http://localhost:4000 open in browser

Examples

# Pipe standard error in addition to standard output to lll
./your-app  |& lll

# Pipe only standard output to lll, ignore standard error
./your-app | lll

# Specify a different port for lll
./your-app | LLL_PORT=1234 lll
 # http://localhost:1234

# Run an npm script
npm run start |& lll

# Start a ruby app
ruby ./ruby.rb |& lll

About

lll is a command-line utility that serves its stdin to a browser, allowing developers a convenient way to filter, format, and copy/paste logs during local development. Any app that outputs to stdout can be used with lll.

lll does its best to keep large JSON logs intact. Other types of logs may span multiple blocks; this may be addressed in the future.

lll is written in HTML, CSS, and JavaScript with no dependencies.

About

View terminal output in the browser!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published