1.0.13 • Published 3 years ago

voicer-logger v1.0.13

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Voicer Logger

That is logger library from voicer, that library can do a visual log and write logs in a file.

Goodbye consoles, hello Logger !

šŸš€ How to use ?

First step is install the library you can use yarn or npm, follow the commands.

yarn add voicer-logger or npm i --save voicer-logger

These library has own types, you doesnt need to install.

That library is very simple to use is only to import one method and let's use it.

import { Logger } from 'voicer-logger'
import { resolve } from 'path'

//with no writable log
const log = Logger()

//or use writable log

const log = Logger({
    fileWithPath: resolve(__dirname,'foo.log')
})

That library works with log levels, 'info', 'warning' and 'error'.

Follow the example šŸƒ

...
log.info('thats info log')
log.warning('thats warning log')
log.error(new Error())
...

Ā©ļø all rights reserved from Voicer

šŸ§‘ā€šŸš€ that library was made by Lucas Veloso

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago