
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@gloxy/mini-logger
Advanced tools
a debug based logger with preset colors, running on both browsers and Node.
⚠️ This repository is deprecated and no longer maintained as of Jun 27, 2024. ⚠️
This repository has been deprecated due to the development of a more advanced version logger.
Please note that no further updates or support will be provided for this repository.
Thank you for your understanding.
mini-logger a debug based logger with preset colors, running on both browsers and Node.
npm install @gloxy/mini-logger
or
yarn add @gloxy/mini-logger
or
pnpm add @gloxy/mini-logger
For all logger methods, the first parameter is a title for it. The second paramter is a formatter, and the rest are any strings one by one for the formatter.
Activate logger
Deactivate by remove them respectively.
// Create the logger instance in the very beginning of your app.
// The namespace is for the logs being distingushiable from other prints, i.e. myapp
const logger = createLogger('myapp');
// Print info
logger('play ball', 'ball player: %s', 'Mary');
logger.info('play ball', 'ball player: %s', 'Mary');
// Print warn
logger.warn('play ball', 'ball player: %s', 'Mary');
// Print success
logger.success('play ball', 'ball player: %s', 'Mary');
// Print error
logger.error('play ball', 'ball player: %s', 'Mary');
// Print debug
logger.debug('play ball', 'ball player: %s', 'Mary');
👤 GloryWong
Give a ⭐️ if this project helped you!
FAQs
a debug based logger with preset colors, running on both browsers and Node.
We found that @gloxy/mini-logger demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.