UNPKG

@ptkdev/logger

Version:

Beautiful Logger for Node.js: the best alternative to the console.log statement

26 lines 909 B
/** * Translation: English * ===================== * How translate: * Chalk: chalk is npm plugin to colorize text in terminal, example: {italic.bold.rgb(46, 204, 113) TEXT_TEXT_TEXT } * don't translate italic.bold.rgb but translate TEXT_TEXT_TEXT before of } * * Keys: don't translate keywords on left, example: {"done":"i'm here"} * word <done> on left side is keyword, ever in English. Translate only phrases on right side of two dots * * Param: don't translate words between ## ##, example: ##ciao## * * @contributors: Sylvain Téchené [@Syltech] <contact@syltech.fr> (https://github.com/Syltech) * * @license: CC BY 4.0 License * */ module.exports = { INFO: " | INFORMATION ", WARNING: " | ALERTE ", ERROR: " | ERREUR ", DEBUG: " | DEBUG ", DOCS: " | DOCUMENTATION ", STACKOVERFLOW: " | STACKOVERFLOW ", SPONSOR: " | SPONSOR " };