Skip to main content


Project description

Logging Module

This library can handle colored log-output and write directly into a logfile.


#!/usr/bin/env python3

import logbuddy

log = logbuddy.log()


At the moment there are a few loglevels defined by default.

  • Info
  • Warning
  • Error
  • Pass
  • Debug
log.Pass("I am a pass-message")
log.Warn("I am a warning-message")
log.Error("I am an error-message")
log.Debug("I am a debug-message")
log.Info("I am an info-message")

Change the color of the levels

log.Info("I am an info-message")


log.Info("And now I have a different color")

If you don't like colors


Need a logfile?


Need a logfile with date?


Future Plans

  • Creating your own loglevels

Project details

Download files

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

Files for logbuddy, version
Filename, size File type Python version Upload date Hashes
Filename, size logbuddy- (2.1 kB) File type Source Python version None Upload date Hashes View
Filename, size logbuddy- (2.5 kB) File type Wheel Python version py3 Upload date Hashes View

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