@augu/logging
v2.0.1
Published
👾 Simple and very customizable Logger for my tailored needs
Downloads
7
Readme
@augu/logging
:space_invader: | Make logging pretty :sparkles:
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.