@augu/logging

👾 Simple and very customizable Logger for my tailored needs

Usage no npm install needed!

<script type="module">
  import auguLogging from 'https://cdn.skypack.dev/@augu/logging';
</script>

README

@augu/logging

Workflow Status

: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.