
Security News
High Salaries No Longer Enough to Attract Top Cybersecurity Talent
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
@kununu/kununu-utils
Advanced tools
Utility functions used within kununu client applications
There are 2 different loggers provided by this package. the default logger
and the request logger
.
Loggers can be imported using
const {logger, requestLogger} = require('@kununu/kununu-utils/dist/kununu-logger');
The request logger is used by @kununu/kununu-utils/dist/middlewares/expressLogger
middleware to log all app requests. The logger is mostly used for the general logs and has different rules when compared to the request logger.
This one has 2 types of transport. FingersCrossed if NODE_ENV
is production, Console if not.
The transports for request logger are always the same and NODE_ENV
has no impact to it.
The log format for both loggers is always the same and is combining a timestamp and a custom log format that includes things like build
, logLevel
, method
, user-agent
, trace_id
, etc.
info
or the value stored on MINIMUM_LOG_LEVEL
env var.info
or the value stored on REQUEST_MINIMUM_LOG_LEVEL
env var.error
or the value stored on ACTIVATION_LOG_LEVEL
env var.emergency
, alert
, critical
, error
, warning
, notice
, info
and debug
.FAQs
Utility functions used within kununu client applications
We found that @kununu/kununu-utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 17 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
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.
Security News
Corepack will be phased out from future Node.js releases following a TSC vote.