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.4.tar.gz (5.1 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.4-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: simplecoloredlogs-1.0.4.tar.gz
  • Upload date:
  • Size: 5.1 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.4.tar.gz
Algorithm Hash digest
SHA256 b1830bf0f44ad7b438eb05fdb97b8fcd1c2d0e3df2f8cd239cc510617ecc077a
MD5 c237bef02aef324356bc36b2e2129a96
BLAKE2b-256 a2edd5f4d2188ca6ce1660d7a606c50c52cb9adda14da492533d11682abc6737

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for simplecoloredlogs-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3cc17e07b0942ba7173ebd80280256c7d672167e2400365fb9550ec8cb02bec6
MD5 b12e7cd14f80fd01ef65e3b37a90d584
BLAKE2b-256 b7ffe443fdc4dab3b8d9b2bbb7ce20959aa99503e0f111f9316a2fdb8c7b74c3

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