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

4.0.0 • Public • Published

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 });

Readme

Keywords

none

Package Sidebar

Install

npm i @salesduck/format-simple

Weekly Downloads

0

Version

4.0.0

License

MIT

Unpacked Size

7.26 kB

Total Files

7

Last publish

Collaborators

  • webworkdeveloper