
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Class for manipulating logs and traces. Can be used as base class for reporting class or node scripts.
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.
const jfLogger = require('jf-logger');
jfLogger.translations.addLanguage('en');
// Using new
const logger = new jfLogger();
// As singleton
const logger = jfLogger.i();
logger.log( // 12:34:56 [jfLogger ] You must set field `name`
'warn',
'', // If empty, class name is used.
'Debes asignar el campo `%s`',
'name'
);
logger.log( // 12:34:56 Min length for `Description` is 10 chars.
'warn',
false, // If false, name is hidden.
'La longitud mínima para `{name}` es {minLength}',
{
name : 'Description',
minLength : 10
}
);
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.
FAQs
Class for manipulating logs and traces. Can be used as base class for reporting class or node scripts.
We found that @jf/logger demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.