![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
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.
@genesislcap/foundation-logger
Advanced tools
foundation-logger
provides a logging utility that currently wraps version 2 of consola.
To enable this module in your application, follow the steps below.
@genesislcap/foundation-logger
as a dependency in your package.json
file. Whenever you change the dependencies of your project, ensure you run the $ npm run bootstrap
command again. You can find more information in the package.json basics page.{
...
"dependencies": {
...
"@genesislcap/foundation-logger": "latest"
...
},
...
}
import { createLogger } from '@genesislcap/foundation-logger';
export const logger = createLogger('my-package');
The logger will be set to LogLevel.Debug
by default, however you can pass options as the second parameter to tailor this.
export const logger = createLogger('my-package', { level: LogLevel.Debug, ... });
LoggerOptions
type extends the ConsolaOptions
type.
import { logger } from '../utils';
...
logger.debug('Checks complete');
import { logger as commsLogger } from '@genesislcap/foundation-comms';
import { logger as storeLogger } from '@genesislcap/foundation-store';
import { LogLevel } from '@genesislcap/foundation-logger';
commsLogger.level = LogLevel.Warn;
storeLogger.level = LogLevel.Silent;
Note: this project provides front-end dependencies and uses licensed components listed in the next section; thus, licenses for those components are required during development. Contact Genesis Global for more details.
Genesis low-code platform
FAQs
Genesis Foundation Logger
The npm package @genesislcap/foundation-logger receives a total of 40 weekly downloads. As such, @genesislcap/foundation-logger popularity was classified as not popular.
We found that @genesislcap/foundation-logger demonstrated a healthy version release cadence and project activity because the last version was released less than 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
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.