An easy to use logging wrapper.
Project description
Mecha Chainsaw
This project is under current development, and is intended as a logging library for mechasqueak3.
However, it does have applications as a standalone logging tool.
This project is currently in pre-release. Use at your own risk!
Requirements
- Python 3.7+
- coloredlogs library
Installation
This is python library. Install using pip/pipenv
and import mechachainsaw with import mechachainsaw
Usage
from mechachainsaw import Logger``
log = Logger("Namespace", "Logfile.txt")
log.info("This is an info-level entry!")
will get you:
<2019-01-12 15:17:40,572 Namespace> [INFO] This is an info-level entry!
License
Mecha Chainsaw is licensed under the BSD 3-Clause License.
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
mechachainsaw-1.21.tar.gz
(2.6 kB
view details)
Built Distribution
File details
Details for the file mechachainsaw-1.21.tar.gz
.
File metadata
- Download URL: mechachainsaw-1.21.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b16dce5f4391d209a5b9ad82e3d1c95c425010dc3185618d7f911df4cd4a4c64 |
|
MD5 | 5afa5dbf86305450e3dcdc6fa0971c7b |
|
BLAKE2b-256 | c21e0791f8feb3bd18fcbe7205f411c7f8632ec1701d31205d94de3587226a48 |
File details
Details for the file mechachainsaw-1.21-py3-none-any.whl
.
File metadata
- Download URL: mechachainsaw-1.21-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 990bac7d01eaecf0de92f38e3fca200fe32845ad2bc3c53865e06b44c14c9ac6 |
|
MD5 | f26c2114a167f14b07fe08c82c4376bf |
|
BLAKE2b-256 | 4be23c7ca9a17672069a5d5c45ef6802a22e1e3b285edf5c38cab406ce1ca3f2 |