Nothing Special   »   [go: up one dir, main page]

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

Readme

Keywords

none

Package Sidebar

Install

npm i cf-util-logger

Weekly Downloads

18

Version

2.2.5

License

BSD-3-Clause

Unpacked Size

2.56 kB

Total Files

7

Last publish

Collaborators

  • lerwincf
  • lbarthonet
  • cf-media-manager
  • jacobbednarz
  • celso
  • cf-radar
  • dash_service_account
  • g4brym
  • snigdha34
  • wrangler-publisher
  • marksteyn
  • chiminator
  • sgoodhew_cf
  • terinjokes
  • third774
  • jsteinberger
  • jasnell
  • asapzacy
  • pcostanzo
  • gregbrimble
  • geelen
  • rexscaria
  • dcruz_cf
  • xuranwang
  • jculvey
  • sejoker
  • vasturiano
  • cf-ci-write
  • segments-write
  • thibmeu
  • xortive
  • gurjinder
  • cf-ci2
  • lvalenta
  • worenga