@salesduck/symbols-logs
v4.0.0
Published
Common types and symbols
Downloads
83
Readme
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!'
};