@ptkdev/logger
Version:
Beautiful Logger for Node.js: the best alternative to the console.log statement
26 lines • 894 B
JavaScript
/**
* Translation: Polski
* =====================
* How translate:
* Chalk: chalk is npm plugin to colorize text in terminal, example: {white.bold.bgRgb(46, 204, 113) TEXT_TEXT_TEXT }
* don't translate white.bold.bgRgb but translate TEXT_TEXT_TEXT before of }
*
* Keys: don't translate keywords on left, example: {"done":"done"}
* 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: Patryk Rzucidło [@ptkdev] <support@ptkdev.io> (https://ptk.dev)
*
* @license: CC BY 4.0 License
*
*/
module.exports = {
INFO: " | INFORMACJA ",
WARNING: " | UWAGA ",
ERROR: " | BŁĄD ",
DEBUG: " | DEBUG ",
DOCS: " | DOKUMENTACJA ",
STACKOVERFLOW: " | STACKOVERFLOW ",
SPONSOR: " | SPONSOR "
};