Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

This package has been deprecated

Author message:

This package has been deprecated. Please find this package under its new name @cloudflare/util-logger.

cf-util-logger

2.2.5 • Public • Published

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!!!

Keywords

none

Install

npm i cf-util-logger

DownloadsWeekly Downloads

18

Version

2.2.5

License

BSD-3-Clause

Unpacked Size

2.56 kB

Total Files

7

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar