storybook/lib/client-logger
Gaëtan Maisse b4f30f6a26
Merge pull request #13714 from phated/phated/ts-exclude-tests
Build: Exclude all test and story files from transpilation
2021-02-03 20:34:12 +01:00
..
2020-06-23 02:20:57 +03:00
2021-02-02 09:47:16 +08:00

Storybook Logger

Any client-side logging that is done through storybook should be done through this package.

Examples:


import { logger } from '@storybook/client-logger'

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

For more information visit: storybook.js.org