Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

lagden/debug

Repository files navigation

debug

NPM version Build Status Coverage Status

Small debugging utility

Install

$ npm i -S @tadashi/debug

API

The API is the same of https://github.com/debug-js/debug\ It's just a preset: https://github.com/debug-js/debug#output-streams

Environment Variables

⚠️ Warning

You must set the environment variables DEBUG_PREFIX
Default is: @tadashi

Usage

import * as debug from '../src/debug.js'
// log
debug.log('Apenas um show')
// error
debug.error('Crap!')
// info
debug.info('This is an information')
// warn
debug.warn('Atention!')

Donate ❤️

  • BTC: bc1q7famhuj5f25n6qvlm3sssnymk2qpxrfwpyq7g4

License

MIT © TJ Holowaychuk
MIT © Thiago Lagden

About

Small debugging utility

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

AltStyle によって変換されたページ (->オリジナル) /