Back to Storybook

Storybook Logger

code/core/src/node-logger/README.md

10.3.6350 B
Original Source

Storybook Logger

Any node logging that is done through storybook should be done through this package.

Examples:

js
import { logger } from 'storybook/internal/node-logger';

logger.info('Info message');
logger.warn('Warning message');
logger.error('Error message');

For more information visit: storybook.js.org