logger
a simple logger to keep all logs of testarmada repos in the same format
How to use
import logger from "testarmada-logger";
logger.prefix = "SOME_PREFERRED_PREFIX";
logger.log("this", "is", "a", "thing");
logger.warn("something");
logger.err("something");
logger.loghelp("print help of your module");
logger.debug("debug infomation");
Enable debug
Debug mode can be enabled by
- Add
TESTARMADA_LOGGER_DEBUG=true
as env variable, or - Add
--debug
to your command
License
Documentation in this project is licensed under Creative Commons Attribution 4.0 International License. Full details available at https://creativecommons.org/licenses/by/4.0