1234567891011121314 |
- const { format } = require('../');
- const { combine, timestamp, label } = format;
- const labelTimestamp = combine(
- label({ label: 'right meow!' }),
- timestamp()
- );
- const info = labelTimestamp.transform({
- level: 'info',
- message: 'What time is the testing at?'
- });
- console.dir(info);
|