mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-09 00:19:13 +08:00
This avoids shipping both 0.12 and 0.13 in the bundled file due to different versions being used by different components.
Storybook Logger
Any node logging that is done through storybook should be done through this package.
Examples:
import { logger } from '@storybook/node-logger'
logger.info('Info message')
logger.warn('Warning message')
logger.error('Error message')
For more information visit: storybook.js.org