logi

A simple python logging library.

instolation

the lib works on python 3x versions

pip install logi

examples

import

import logi

log = logger(path='C:/file path', timestamp=True, dbg=True)

info log

log.info('info log')

final code

from logi import logi
log = logi(path='C:/file path', timestamp=True, dbg=True)
log.info('info log')
# output: 15:54:11 | info | info log

full docs here

log example

with timestamp

15:54:11 | info | info log
15:54:58 | Warning | warning log
15:55:08 | Error | Error log
16:05:14 | hardware | custom log
16.06.14 | Debug | debug log

without timestamp

| info | info log
| Warning | warning log
| Error | Error log
| hardware | custom log
| Debug | debug log

GitHub

https://github.com/hiikion/logi