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

Uploaded Python 3

File details

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

File metadata

  • Download URL: simplecoloredlogs-1.0.2.tar.gz
  • Upload date:
  • Size: 5.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.2.tar.gz
Algorithm Hash digest
SHA256 63dc746353c682090a8bc8eef17feeca531bd5efdf4c6b3d2878e9a220c74f87
MD5 c81a092aa87a960beff2cef8e46376db
BLAKE2b-256 fd015f33532524d988dc28fdd949836fb0c2f172c7c828dd907b8c609e15eb49

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for simplecoloredlogs-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 901a16789b287b38ae210b8214dcf0afb2a6dd21ddc17af0db5d4f4330d03086
MD5 884cd7b138f4be183672a300ffa6def4
BLAKE2b-256 07245321d0fec94eb9f5d02651b33577d96302eb3879cacd8b127d699e6e1064

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