Skip to main content

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


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)

Uploaded source

Built Distribution

mechachainsaw-1.21-py3-none-any.whl (4.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page