@arthureic/better-logger

An improved way to console.log

Usage no npm install needed!

<script type="module">
  import arthureicBetterLogger from 'https://cdn.skypack.dev/@arthureic/better-logger';
</script>

README

Better Logger

An improved way to console.log

Github

You can see the repo here. Feel free to suggest improvements or submit a new issue. You can also rate the repo if you like what I'm doing.

List of features

  • Logger.warn, Logger.error, Logger.success, Logger.log, Logger.info.
  • Call method without having to construct new Logger()

Code Demo

const Logger = require('@arthureic/better-logger');

Logger.log(`Event fired at ${+new Date()}`);
Logger.warn('Take care', warning);
Logger.error(error);
Logger.success('Account have been updated successfully.');

Download & Installation

Install it locally.

$ npm i -s @arthureic/better-logger

Authors

Arthur Eichelberger.

License

This project is licensed under the ISC License