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

Uploaded Python 3

File details

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

File metadata

  • Download URL: simplecoloredlogs-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 b8d8f55eec17957fdf1240a0feb5a047972a390bbf8e604cda53812cc0cf4343
MD5 f69a9dc839b7f7307faace22f51904a6
BLAKE2b-256 d95404a15e5a75527d9180e29e2d169b545c69ede486e822e2a13d479e8a8634

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for simplecoloredlogs-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5b8aba145a1aa0d745a7eeba742f78828411c8945737c5722951c8409ed89757
MD5 407d7372a852e4ec071797a6395dfa9d
BLAKE2b-256 f00dfdaf4ed976dc936c6a7af15fae048938f15887d09f7244ba7dfaa59b8313

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