2.1.0 • Published 8 months ago

@loglayer/transport-consola v2.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

Consola Transport for LogLayer

NPM Version NPM Downloads TypeScript

The Consola transport for the LogLayer logging library.

Consola is an elegant and configurable console logger for Node.js and browser.

Installation

npm install loglayer @loglayer/transport-consola consola

Usage

import { createConsola } from 'consola'
import { LogLayer } from 'loglayer'
import { ConsolaTransport } from "@loglayer/transport-consola"

const log = new LogLayer({
  transport: new ConsolaTransport({
    logger: createConsola({
      level: 5  // Enable all log levels
    })
  })
})

Important Notes

  • The default log level is 3 which excludes debug and trace
  • Set level to 5 to enable all log levels

Documentation

For more details, visit https://loglayer.dev/transports/consola

2.1.0

8 months ago

2.0.4

10 months ago

2.0.3

11 months ago

2.0.2

11 months ago

2.0.1

11 months ago

2.0.0

11 months ago

1.0.15

11 months ago

1.0.14

12 months ago

1.0.13

12 months ago

1.0.12

12 months ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago