picologger
v0.0.1
Published
A colorful logger used in browser
Downloads
240
Readme
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)