Skip to main content

Ein minimalistischer, farbiger Terminal-Logger

Project description

Simple Logs

Ein minimalistischer, farbiger Terminal-Logger für Python.

Installation

pip install simple-logs

Verwendung

from logs import Logs, LogLevel

# Einfache Logs
Logs.debug("DATABASE", "Verbindung hergestellt")
Logs.success("API", "Server gestartet")
Logs.error("AUTH", "Login fehlgeschlagen")

# Mit File-Logging
Logs.configure(log_file="app.log")

# Nur wichtige Logs
Logs.configure(min_level=LogLevel.WARN)

Features

  • 🎨 Farbige Terminal-Ausgabe
  • 📁 Optional File-Logging
  • 🎯 Level-Filtering
  • ⚙️ Custom Handler
  • 🕐 Konfigurierbares Timestamp-Format

### 6. **LICENSE** (MIT)

MIT License

Copyright (c) 2024 Dein Name

Permission is hereby granted, free of charge...


### 7. **.gitignore**

pycache/ *.py[cod] *$py.class *.so .Python build/ develop-eggs/ dist/ downloads/ eggs/ .eggs/ lib/ lib64/ parts/ sdist/ var/ wheels/ *.egg-info/ .installed.cfg *.egg

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

simplecoloredlogs-1.0.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simplecoloredlogs-1.0.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file simplecoloredlogs-1.0.0.tar.gz.

File metadata

  • Download URL: simplecoloredlogs-1.0.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for simplecoloredlogs-1.0.0.tar.gz
Algorithm Hash digest
SHA256 afcc09ebf4302cae156495ae23b70618c251e5ffb53027dd0eb8e409f0559325
MD5 98b8e645da36d2735ac6ec8156f148fd
BLAKE2b-256 42d20e42221fd0f262f195fed78af902777b4eaea4ab4a41d06c3ca767b48ece

See more details on using hashes here.

File details

Details for the file simplecoloredlogs-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for simplecoloredlogs-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 712aac033588383396ba87ed415ed64b5d945df21c15a53590347150e5bb1fb5
MD5 736e2b09864157a1299a66d1f7a4632c
BLAKE2b-256 65de83019c437720a7b11cb4074ae7cf2c12b300e339062a99b5a101a50bfc10

See more details on using hashes here.

Supported by

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