@vouch-in/logger
v0.1.7
Published
Isomorphic logger utility for Vouch SDK
Downloads
858
Readme
@vouch-in/logger
Isomorphic logger utility for the Vouch SDK ecosystem.
Installation
npm install @vouch-in/logger
# or
pnpm add @vouch-in/logger
# or
yarn add @vouch-in/loggerUsage
import { log } from '@vouch-in/logger';
log('Hello, world!');
// Output: LOGGER: Hello, world!
log('Multiple', 'arguments', { key: 'value' });
// Output: LOGGER: Multiple arguments { key: 'value' }API
log(...args: unknown[]): void
Logs messages to the console with a LOGGER: prefix.
Parameters:
...args- Any number of arguments to log
Internal Package
This package is primarily intended for internal use within the Vouch SDK ecosystem. While it's published publicly, the API may change between versions.
License
See LICENSE for details.
