logger
this is a small module that might help some people with bigger projects. It can log info, warnings and errors to a file or your terminal.
It has 2 functions: make_log and new_log_file
Use new_log_file to save your old latestlog.txt with a time stamp Use make_log with following parameters, same order: message (Just your message as a string), type (can be INFO, WARN or ERROR), terminal (boolean, if True, log will be printed, if False, log will be put in latestlog.txt. Standard value is False)
Release files for simple-logger-RI 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| simple_logger_ri-0.0.1.tar.gz | 2.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| simple_logger_ri-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.5 kB
Release files / simple_logger_ri-0.0.1.tar.gz
| Download URL | simple_logger_ri-0.0.1.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
012e937cf9bbb3d0559bab1ffbaab9e9f602cbab344b17480d308c12c610eb81
|
|
BLAKE2b-256 checksum How to use checksums |
1befbcb37b4e30e969196bdfb4a05146a9fc50b9ba0ee96e52b0e7e985e5c6b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / simple_logger_ri-0.0.1-py3-none-any.whl
| Download URL | simple_logger_ri-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
44404a10d1a31c2def2394c0afd2ad4b30c4f8b4062f0e693e7dffd2610e1712
|
|
BLAKE2b-256 checksum How to use checksums |
4854848b54184345b082d78dd99be5d9f50f3aa009eb7a115a34fdfb4a86305c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|