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 hashes)
Built Distribution
Close
Hashes for mechachainsaw-1.21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 990bac7d01eaecf0de92f38e3fca200fe32845ad2bc3c53865e06b44c14c9ac6 |
|
MD5 | f26c2114a167f14b07fe08c82c4376bf |
|
BLAKE2b-256 | 4be23c7ca9a17672069a5d5c45ef6802a22e1e3b285edf5c38cab406ce1ca3f2 |