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 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page