@storybook/node-logger

  • Version 6.3.7
  • Published
  • 7.63 kB
  • 5 dependencies
  • MIT license

Install

npm i @storybook/node-logger
yarn add @storybook/node-logger
pnpm add @storybook/node-logger

Overview

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

Index

Variables

Variables

variable colors

const colors: {
pink: any;
purple: any;
orange: any;
green: any;
blue: any;
red: any;
gray: any;
};

    variable logger

    const logger: {
    info: (message: string) => void;
    plain: (message: string) => void;
    line: (count?: number) => void;
    warn: (message: string) => void;
    error: (message: string) => void;
    trace: ({ message, time }: { message: string; time: [number, number] }) => void;
    setLevel: (level?: string) => void;
    };

      Package Files (1)

      Dependencies (5)

      Dev Dependencies (1)

      Peer Dependencies (0)

      No peer dependencies.

      Badge

      To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

      You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@storybook/node-logger.

      • Markdown
        [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@storybook/node-logger)
      • HTML
        <a href="https://www.jsdocs.io/package/@storybook/node-logger"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>