1.0.0 • Published 7 years ago
pack-console v1.0.0
PackConsole
Pack all concole message for easy debug.
Log level | Mean | Note | icon |
---|---|---|---|
LOG | Develop adjust | console.log | none |
INFO | Record the data from api | console.info | i |
WARN | Warning | console.warn | ! |
ERROR | The error message | console.error | x |
Benefit
- Help to find the bug.
- Contribute to module testing.
Important
- Yes, it will reduce the speed, though only negligibly.
- But, don't use it as it's too easy for a person to read your logs.
1.0.0
7 years ago