firejune / clog Goto Github PK
View Code? Open in Web Editor NEWColorful console output in NodeJS.
Home Page: http://firejune.com/1701
Colorful console output in NodeJS.
Home Page: http://firejune.com/1701
지금 순서가 ['log', 'info', 'warn', 'error', 'debug'] 이렇고 1에서 5로 갈수록 더 많은 로그가 보이도록 되어 있죠.
log의 우선순위를 어디에 두느냐는 이론의 여지가 있지만, 나머지는 보통
debug < info < warn < error 이렇잖아요.
log를 포함한다면 저는 log < debug < info < warn < error 이게 맞다고 보지만요.
어떻게 생각하세요?
한글이라 죄송 =3 =33
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.