8.1.0 • Published 5 years ago

good-beautify v8.1.0

Weekly downloads
1
License
BSD-3-Clause
Repository
-
Last release
5 years ago

good-console

good-console is a transform stream useful for turning good server events into formatted strings.

Build Status

Usage

new GoodConsole([config])

Creates a new GoodConsole object with the following arguments:

  • [config] - optional configuration object with the following keys - format - MomentJS format string. Defaults to 'YYMMDD/HHmmss.SSS'. - utc - boolean controlling Moment using utc mode or not. Defaults to true. - color - a boolean specifying whether to output in color. Defaults to true.

Output Formats

Below are example outputs for the designated event type: