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

from logbuddy 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.

Filename, size & hash SHA256 hash help File type Python version Upload date
logbuddy- (2.6 kB) Copy SHA256 hash SHA256 Wheel py3
logbuddy- (2.2 kB) Copy SHA256 hash SHA256 Source None

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