jfLogger
Class for manipulating logs and traces.
Can be used as base class for reporting class or node scripts.
Extend jfObject inheriting all its features and functionalities.
Use jfTranslations so messages can be translated in other languages.
Usage
Example
const jfLogger = ;jfLoggertranslations;// Using newconst logger = ;// As singletonconst logger = jfLogger;logger;logger;
Removing/changing colors
If you want differents colors or not colors at all you can overwrite
addColorsToLogParams
.
If you use an empty function you will remove all colors in parameters.