@augu/logging
👾 | Make logging pretty✨
Usage
const { createLogger, FileTransport } = require('@augu/logging');
const logger = createLogger({
namespace: 'Namespace',
transports: [FileTransport], // constructor that can be used with `new` or a new instance
levels: [
{
level: 'debug',
color: '' // hex, hsl, rgb, number
}
]
});
logger.info('Test!');
License
@augu/logging is released under the MIT License. Read here for more information.