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.3.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.3-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: simplecoloredlogs-1.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 e247b798c199e09b960d1ed040c7a1a5e90e549f39f07607552fb0abf9c64c50
MD5 257a1754662268ce31f9e80fecb49fa7
BLAKE2b-256 cf0460460d5b506f7d91be250a5cde922715b1801fd2d9724c7b764837052fcb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for simplecoloredlogs-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e80d566f4ac04b385ac4cbb5e4a99eac2903a5bced081b2906ff0e3a5f004bbc
MD5 34a38d59bda1002f3f5981a63bb4aca5
BLAKE2b-256 6de15a9b886f3763cadc68b9ffe291cdc739f6d5ee9e0f5507644cd32e3121e5

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