@salesduck/symbols-logs
TypeScript icon, indicating that this package has built-in type declarations

4.0.0 • Public • Published

Symbols

The package stores common types and symbols

Setup

Install package

yarn add @salesduck/symbols

Usage

import { MESSAGE, LEVEL, LogLevel } from '@salesduck/symbols';

const level: LogLevel = {
    name: 'info',
    priority: 2
};

const log: FormatterLog = {
    [LEVEL]: LogLevel.INFO,
    [MESSAGE]: 'Hello World!'
};

Dependencies (0)

    Dev Dependencies (3)

    Package Sidebar

    Install

    npm i @salesduck/symbols-logs

    Weekly Downloads

    19

    Version

    4.0.0

    License

    MIT

    Unpacked Size

    4.84 kB

    Total Files

    7

    Last publish

    Collaborators

    • webworkdeveloper