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

4.1.0 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 4.1.0
    11
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 4.1.0
    11
  • 4.0.0
    0
  • 1.3.0
    0
  • 1.2.0
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i @salesduck/transport-console

Weekly Downloads

11

Version

4.1.0

License

MIT

Unpacked Size

6.54 kB

Total Files

7

Last publish

Collaborators

  • webworkdeveloper