picologger
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

picologger

A colorful logger used in browser

Usage

import { Logger } from 'picologger'
const logger = new Logger('label', false)

logger.log({ text: 'some-text', type: 'success' })
import { Logger } from 'picologger'
const logger = new Logger('label', true)

const logStr = logger.log({ text: 'some-text', type: 'success' })

console.log(logStr)

Readme

Keywords

Package Sidebar

Install

npm i picologger

Weekly Downloads

78

Version

0.0.1

License

MIT

Unpacked Size

17.8 kB

Total Files

10

Last publish

Collaborators

  • hemengke-