2.0.0 • Published 2 years ago

volante-logfile v2.0.0

Weekly downloads
1
License
ISC
Repository
github
Last release
2 years ago

Volante Logfile Spoke

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

Usage

npm install volante-logfile

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

Props

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

hub.emit('VolanteLogfile.update', {
	logVolante: false,                    // log all volante.log events
	logPath: '/tmp/volante/',             // path to log files
	rotationInterval: 'day',              // rotation interval
	rotationCheckTimerMs: 60000,          // how often we will check for rotation
	dateFormat: 'YYYY-MM-DDTHH.mm.ss[Z]', // format string used for filename dates
});

License

ISC

2.0.0

2 years ago

1.2.0

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago