@activescott/diag

Yet another logging package. The only thing this package really is doing is defining a consistent API for diagnostic logging.

Usage no npm install needed!

<script type="module">
  import activescottDiag from 'https://cdn.skypack.dev/@activescott/diag';
</script>

README

@activescott/diag

npm version Build Status Greenkeeper badge

Yet another logging package. The only thing this package really is doing is defining a consistent API for diagnostic logging.

Usage

You'll probably need another package or to create a derived implementation of Diag to use this. However, you can use the included DiagConsoleImp for simple logging directly to console and it will make the migration path a bit easier to a more advanced logger in the future.

Local Testing

You can also test your shareable config on your computer before publishing by linking your module globally. Type:

yarn link

Then, in your project that wants to use your shareable config, type:

yarn link @activescott/diag