
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.
Interface for creating log records
npm install --save mlogy
The modules assumes loggers are organized in a tree tracked by the parent
attribute however this is managed outside the implementation of the logger.
context
The context contains the shared settings shared between all loggers in a
system. The context is stored as context on the logger and is allowed to change
during the life time of the logger to allow loggers created by libraries to be
assimilated into a bigger application logger hierarchy
defaultProcessors
A List of processors; functions that accepts a record and somehow modifies it by e.g attaching extra data
proxy
A proxy through which all records should be sent.
name
The name of the logger. By convention a dot.separated.string
level
The minimum level the logger will process records for as either a numeric
value or a named level from standard-levels. If undefined the level of the
parent logger is used.
var Logger = require('mlogy')
, ctx = {defaultProcessors: []}
, root = new Logger(ctx, '', 'ERROR')
, other = new Logger(ctx, 'other', 'DEBUG')
other.parent = root
Update the minimum level the logger will process records for
Send a message at the indicated level
FAQs
interface for creating log records
We found that mlogy 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.