Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
@poap-xyz/poap-logger
Advanced tools
A logger with a simple facade to use in the POAP ecosystem.
This project was built with Typescript.
Install from npm repository:
yarn add @poap-xyz/poap-logger
Example usage with the Fastify onRequest hook:
export default function onRequest(this: FastifyInstance, request: FastifyRequest<any>, response: FastifyReply<any>, done: (err?: Error) => void) {
const logger = PoapLoggerFactory.createLoggerInstance({
metadata: {/*METADATA*/}
});
Where METADATA is a key value pair object where you add the properties you want to log, eg:
metadata: {
requestId: request.headers["requestid"],
requestUrl: request.url,
source: "POAP-Logger-Parent"
}
Create a child logger to override or combine parent child metadata:
logger.child({
moreMetadata1: "More meta", //Will be added
source: "POAP-Logger-Child" //Will override parent's source prop
});
Coming soon
Coming soon
Ignacio Negro Caino 💻 |
Eduardo Sacco 💻 |
Agustin Lavarello 💻 |
MIT © POAP
FAQs
A logger for POAP
The npm package @poap-xyz/poap-logger receives a total of 0 weekly downloads. As such, @poap-xyz/poap-logger popularity was classified as not popular.
We found that @poap-xyz/poap-logger demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.