@cloudflare/util-logger

Cloudflare Logger Util

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
@cloudflare/util-logger
Minified + gzip package size for @cloudflare/util-logger in KB

Readme

cf-util-logger

Cloudflare Logger Util

Installation

$ npm install cf-util-logger

Usage

import createLogger from 'cf-util-logger';
const warning = createLogger('application:warning');
const error = createLogger('application:error');

warning('Something is about to happen...');
error('OMG IT HAPPENED!!!');

// console:
// application:warning - Something is about to happen...
// application:error   - OMG IT HAPPENED!!!

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.