logslib
Simple logging for people.
Install
pip install logslib
Usage
import logslib
logslib.log("Hello, world!") logslib.log("Warning", type=logslib.WARNING) logslib.dump(users=42, status="ok")
Open log file
logslib.view()
Clear log file
logslib.clear()
Write log to console
logslib.tee = True
Path to log
logslib.log_path
Levels
logslib.levels
Log path: %APPDATA%/logs/filename(filehash)/log.txt
Release files for logslib 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| logslib-1.0.0.tar.gz | 3.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| logslib-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.2 kB
Release files / logslib-1.0.0.tar.gz
| Download URL | logslib-1.0.0.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f5ed74808797f7e58718353db913b20692b214076dbebbe4e4c3b5e52a3537bd
|
|
BLAKE2b-256 checksum How to use checksums |
b5e1247790539c28b4f93439a8e8e9fd2e4b7c900b5276e2084decc47f3aa42a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|
Release files / logslib-1.0.0-py3-none-any.whl
| Download URL | logslib-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b4430313478f9bc27bb0678d5a102fc23fc65fc1cd25e5468b654fcfb258997e
|
|
BLAKE2b-256 checksum How to use checksums |
b6bd485cf1cc3728328505be4b29912e9ef6dc8899aebfd323c35d1c6004ff68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|