GithubHelp home page GithubHelp logo

clog's People

Contributors

bennidhamma avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

clog's Issues

loglevel 순서가 이상해요

지금 순서가 ['log', 'info', 'warn', 'error', 'debug'] 이렇고 1에서 5로 갈수록 더 많은 로그가 보이도록 되어 있죠.
log의 우선순위를 어디에 두느냐는 이론의 여지가 있지만, 나머지는 보통

debug < info < warn < error 이렇잖아요.

log를 포함한다면 저는 log < debug < info < warn < error 이게 맞다고 보지만요.

어떻게 생각하세요?

한글이라 죄송 =3 =33

The name `clog` is confusing

The name clog is a little confusing, because the main use of the library seems to be to allow you to use all the console methods to output - so con.warn('clog is confusing') makes more sense to me that clog.warn('con is a better name').

What I mean, is that it seems that clog is short for console.log so clog.warn would naturally be console.log.warn which is javascript jibberish.

log level filter

Hello,

It would be great if we could select verbosity of our scripts, i.e. disable output for message below a given threshold. Some script could then add clog.debug() message everywhere which will not be shown by default.

debug
info
log
warn
error

Info should be the default level I think. We could then handle a --debug arguments to ask clog to also output the debug messages.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.