@vizualkei/common-utils
v0.33.0
Published
Shared TypeScript utilities for the SophID web workspace
Readme
@vizualkei/common-utils
Shared TypeScript utilities for the sophid-web workspace.
Current contents:
- structured logging helpers
- runtime log-level controls
Installation
pnpm add @vizualkei/common-utilsUsage
import { initLogging, logger, setRuntimeLogLevel } from '@vizualkei/common-utils';
initLogging({ serviceName: 'my-service', level: 'info' });
logger.info('service started');
setRuntimeLogLevel('debug');Exports
initLoggingloggergetLogLevelsetRuntimeLogLevelisLogLevelEnabled
License
Apache-2.0
