log74
v1.0.6
Published
Mini logging library for Node.js and the web.
Downloads
7
Readme
log74
Tiny logging utility for Node.js and web. Used to add styling and for intercepting all logged messages.
Node.js usage
Install: npm install --save log74
import { Error, Warn, ... } from 'log74';
Error("error message");
Web usage (webpack / tsc / etc)
Install like above.
import { Error, Warn, ... } from 'log74/dist/index.web';
Error("error message");
Web usage (global script import)
Include: <script src="https://unpkg.com/[email protected]/dist/index.webpack.js"></script>
// functions are bound to window object
Error("error message");