1.0.13 ā€¢ Published 2 years ago

voicer-logger v1.0.13

Weekly downloads
-
License
MIT
Repository
github
Last release
2 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

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago