Simple log format and other stuff
Project description
pylogus
Formatted log for python
Usage example:
import logging
from pylogus import logger_init
log = logger_init(__name__, logging.DEBUG)
def example():
log.info("This is a info msg")
log.debug("This is a debug msg")
log.warning("This is a warning msg")
log.error("This is a error msg")
if __name__ == "__main__":
example()
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
pylogus-0.1.0.tar.gz
(2.5 kB
view details)
Built Distribution
File details
Details for the file pylogus-0.1.0.tar.gz
.
File metadata
- Download URL: pylogus-0.1.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b495498fd504745b03094acb5887941b298f9ff63a3eef8439c6ac679e5f8287 |
|
MD5 | bcdd88222ed6d242c3073aa4760c1c3a |
|
BLAKE2b-256 | 8a3916413cb66e58c1f70c435ff4725880f90d410a497b2adefddd954422a98b |
File details
Details for the file pylogus-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: pylogus-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 074a226ccf3316b94795a6b69474b49d83ece0a6e32dd513f09f9fe540c722bd |
|
MD5 | 9bace6b4fa0526c9fb10bc152e0750ed |
|
BLAKE2b-256 | 4a716cf224e4fabcaa81defda3fdca24773246f456f56f77d9de44da18b583ac |