@salesduck/transport-console
v4.1.0
Published
Allows you to send log data to standard output
Downloads
77
Readme
Transport Console
Allows you to send log data to standard output
Setup
Install package
yarn add @salesduck/transport-console
Usage
Just create and pass to logger
import { ConsoleTransport } from '@salesduck/transport-console';
import { DefaultLogger } from '@salesduck/logger';
const transport = new ConsoleTransport();
const logger = new DefaultLogger({ transports: [transport] });