@salesduck/format-simple
v4.0.0
Published
Transform log to simple message
Downloads
2
Readme
Format Simple
Convert log data into simple console message
Setup
Install package
yarn add @salesduck/format-simple
Usage
Just create and pass to transport
import { ConsoleTransport } from '@salesduck/transport-console';
import { SimpleFormat } from '@salesduck/format-simple';
const formatter = new SimpleFormat();
const transport = new ConsoleTransport({ formatter });