@blast-shield/logger
v0.0.27
Published
Logger utility for blast-shield
Maintainers
Readme
📋 @blast-shield/logger
Internal logging utility for the Blast Shield CLI and related packages.
This package provides a consistent logging interface for Blast Shield internal components. It's primarily designed as an internal dependency and not intended for direct use in other projects.
Usage
import { logger } from '@blast-shield/logger';
logger.info('This is an informational message');
logger.success('Operation completed successfully');
logger.error(new Error('Something went wrong'));
logger.dryRun('Would perform this operation in live mode');Available Log Methods
logger.info()- Informational messageslogger.debug()- Debug messageslogger.warn()- Warning messageslogger.error()- Error messageslogger.success()- Success messageslogger.note()- Notes/memoslogger.star()- Important highlighted informationlogger.start()- Task startlogger.complete()- Task completionlogger.pending()- Pending taskslogger.await()- Waiting for somethinglogger.watch()- Something being watchedlogger.dryRun()- Logs with a "DRY RUN" prefix
