Draftlog Appender
Appender for '@niceites/logger'
implemented using draftlog package.
-
Uses animation in the console to display log messages
-
Small size
-
Doesn't hold your event loop on exit
-
Creates maximum one active interval (timer) at a time
-
Supports multilevel spinners
Installation
yarn add @niceties/draftlog-appender
or
npm install --save @niceties/draftlog-appender
Example
To install appender use next import:
import "@niceties/draftlog-appender";
It is better to do it before other imports so default appender in '@niceites/logger'
not installed.
Subpackages
Default subpackage '@niceties/draftlog-appender'
exports nothing.
Subpackage '@niceties/draftlog-appender/core'
exports createDraftlogAppender()
factory.
Subpackage '@niceties/draftlog-appender/spinners'
exports spinners definitions used in default config.
Prior art
License
MIT