luciopaiva / willie

A companion to Winston

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Willie

A companion to Winston.

Installation

npm install willie

Features

Willie is capable of producing a log output with indentation, so that you can better visualize what's happening in your output.

Example code:

var
  willie = require('willie');
  
willie.logToConsole();

willie
  .hr()
  .info('Willie')
  .indent()
  .info('This line will be indented')
  .error('This one is correctly aligned to the above line, despite having a different level')

Will produce the following output:

23:55:47.501 -    info: --------------------------------------------------------------------------------
23:55:47.504 -    info: Willie
23:55:47.504 -    info: .   This line will be indented
23:55:47.504 -   error: .   This one is correctly aligned to the above line, despite having a different level

About

A companion to Winston


Languages

Language:JavaScript 100.0%