Typescript Support

Better-logging is written in typescript and provides 100% ts integration.

// using import
import betterLogging from 'better-logging';
betterLogging(console);
console.log('Hello!') // [11:46:35.294] [log] Hello!
// using require
require('better-logging').default(console);
console.log('Hello!') // [11:46:35.294] [log] Hello!

Last updated