@nitra/consola

2.1.1 • Public • Published

@nitra/consola

GitHub Super-Linter npm version

Show filename in console

Check security header in Cloud Functions

import { createLogger } from '@nitra/consola'
const consola = createLogger(import.meta.url)

consola.debug('TEST')

Show filename in console (browser version)

Check security header in Cloud Functions

import { createLogger } from '@nitra/consola/browser'
const consola = createLogger(import.meta.url)

consola.debug('TEST')

"Classic" consola

without filename

import consola from '@nitra/consola'

consola.debug('TEST')

Package Sidebar

Install

npm i @nitra/consola

Weekly Downloads

79

Version

2.1.1

License

ISC

Unpacked Size

3.34 kB

Total Files

3

Last publish

Collaborators

  • vitaliytv