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


Release history Release notifications

This version

1.21

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mechachainsaw, version 1.21
Filename, size File type Python version Upload date Hashes
Filename, size mechachainsaw-1.21-py3-none-any.whl (4.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size mechachainsaw-1.21.tar.gz (2.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page