Skip to main content

Ein minimalistischer, farbiger Terminal-Logger

Project description

Simple Logs

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

Installation

pip install SimpleColoredLogs

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 OPPRO.NET Network

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.5.tar.gz (8.6 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.5-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: simplecoloredlogs-1.0.5.tar.gz
  • Upload date:
  • Size: 8.6 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.5.tar.gz
Algorithm Hash digest
SHA256 596045bbbd8ae9d33c9969e425bca9a722000dcad02da8508982303100194bf2
MD5 644b7f5ea9d1de430ab13a1766edafe3
BLAKE2b-256 c56475087f44ac82e51a55bf409e8566671cd54f64f1e350ae80f76a48fa636d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for simplecoloredlogs-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e39a54a682b520fdcd84cc479884028374bf0a331ae5df32f4ed8f084a516d59
MD5 3464a229c4b6975fd83567cf5b7ba91e
BLAKE2b-256 6f9bf14e1bb1ba9a395c68d4e02d096f259052c32436edced9411c8f4ff395b0

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