The package stores common types and symbols
Install package
yarn add @salesduck/symbols
import { MESSAGE, LEVEL, LogLevel } from '@salesduck/symbols';
const level: LogLevel = {
name: 'info',
priority: 2
};
const log: FormatterLog = {
[LEVEL]: LogLevel.INFO,
[MESSAGE]: 'Hello World!'
};