devfacPyLogger
Simple, Colored, File and Line number printable python logger
I wanted to log like this
- colored
- file name
- line number
- time
- print type of logs by different func name
[2021-11-09 22:53:41.227][INF][test_logger.py:39] info log
[2021-11-09 22:53:41.229][DBG][test_logger.py:40] debug log
[2021-11-09 22:53:41.230][ERR][test_logger.py:41] error log
[2021-11-09 22:53:41.231][WRN][test_logger.py:42] warning log
[2021-11-09 22:53:41.233][CRC][test_logger.py:43] critical log
How to use
from devfacPyLogger import log
log.info('info log')
log.debug('debug log')
log.error('error log')
log.warning('warning log')
log.critical('critical log')
features
- At jupyter notebook there will be NO filename and line number(0.1)
[2021-11-09 23:01:34.591][WRN] warning log
Metadata
Release files for devfac-py-logger 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| devfac-py-logger-0.2.2.tar.gz | 3.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| devfac_py_logger-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.6 kB
Release files / devfac-py-logger-0.2.2.tar.gz
| Download URL | devfac-py-logger-0.2.2.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8f15adb43a59888a2a914e21c2869b0ddf71715c535fb426608e11425a15df24
|
|
BLAKE2b-256 checksum How to use checksums |
80e423b1249cca0e0d292a8994c3daea2fcb5ea44f28a1bdc0d2ba5fb2220966
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.6
|
Release files / devfac_py_logger-0.2.2-py3-none-any.whl
| Download URL | devfac_py_logger-0.2.2-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0f42173d31bb038bc40772133e10b89d160a42d76821172767df53367d2de824
|
|
BLAKE2b-256 checksum How to use checksums |
fac8b266b5c58666a7f6572feed726d2c97667c473890a20a86fadad86e5eb32
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.6
|