volante-console

4.4.2 • Public • Published

Volante Console Logger Spoke

Volante Spoke module which handles logging Volante log events to console.

Usage

npm install volante-console

Volante Spokes are automatically loaded and instanced if they are installed locally and hub.attachAll() is called.

Props

Options are changed using the VolanteConsole.props event with an options object (shown with defaults):

hub.emit('VolanteConsole.update', {
  timestamp: false, // write timestamp
  level: 'any',     // level filter ['any', 'normal', 'debug', 'warning', 'error']
  stringify: true,  // call JSON.stringify for Objects
  srcFilter: null   // filter src value by string match or regex
});

License

ISC

Readme

Keywords

Package Sidebar

Install

npm i volante-console

Weekly Downloads

3

Version

4.4.2

License

ISC

Unpacked Size

13.5 kB

Total Files

6

Last publish

Collaborators

  • msmiley