Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including log74 with all npm packages installed. Try it out:

var log74 = require("log74")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

log74 v1.0.6

Mini logging library for Node.js and the web.

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/log74@1.0.5/dist/index.webpack.js"></script>

// functions are bound to window object
Error("error message");

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free