🐍 Simple, minimal and non-bloated logging for Python.
Project description
Loggaby-py
🐍 Simple, minimal logging for Python without useless features.
Loggaby-py is a direct port (aims to be, anyway) of the original JS version. It does 1 thing and does it well: posting nice logs to a terminal. Or perhaps a file? Anywhere you need can be done with a Transport (not present in this Python version as yet).
Oh, it looks like this:
(Exactly like the original)
Table of Contents
Install
pip install loggaby
Examples
Documentation
Loggaby(debug=False, levels=[])
The Loggaby constructor, which creates a logger instance.
debug{Boolean} Whether to print debug messages. (Default:True)levelsAdditional custom levels to provide. (An array ofdicts)name{str} Name of the level that appears in the logscolor{str} Color of thename(accepted values are these or a hex value)debug{bool} Whether this is a debug log (that is hidden withdebug: false)fatal{bool} Whether to make the level name and message bold and underlinecall{str} Name of the function to use this level
Levels
debug, log, warn, error, fatal by default.
You can log with logger.<Level>(). (examples)
License
Loggaby-py is licensed under the MIT license.
Read here for more info.
A Luvella project.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file loggaby-1.1.1.tar.gz.
File metadata
- Download URL: loggaby-1.1.1.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
729fcb22ae2d560a5a6373dadcf6d3f82750b88dea1a85a070401140392942c2
|
|
| MD5 |
5403067bd752efbe2824f2c6f9473ba0
|
|
| BLAKE2b-256 |
da7af001db61545e75795e883f241f22dc78a7cc21841c82ffc54bd7a88b02cb
|
File details
Details for the file loggaby-1.1.1-py3-none-any.whl.
File metadata
- Download URL: loggaby-1.1.1-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93309fe56b1e032b7d475655622293826fb9bd448eb0bbe8e3958ede344c98fb
|
|
| MD5 |
a18f8089475594bb182b8d91dd6a309e
|
|
| BLAKE2b-256 |
9c9ec83b69f23e6203d017dce44669fc6ce09af3613af1db49e4d6322ec4411d
|