Queue-based rotating file and console logging
Project description
player-logger
Queue-based rotating file and console logging for Python.
Install
pip install player-logger
Local development:
uv sync
uv pip install -e .
Usage
from player_logger import init_logging, get_logger
init_logging()
logger = get_logger(__name__)
logger.info("hello")
Custom options:
init_logging(
level="DEBUG",
log_dir="logs",
log_file="myapp.log",
console_output=True,
file_output=True,
)
Publish
uv build
UV_PUBLISH_TOKEN="pypi-..." uv publish
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
player_logger-0.1.1.tar.gz
(2.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file player_logger-0.1.1.tar.gz.
File metadata
- Download URL: player_logger-0.1.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"CachyOS Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5667de97e7aa2c71128eb43d401ae5a55ccd7952b7d1c58fca606c2f84e8fe4b
|
|
| MD5 |
f8e2fb2b022d8e4704c3dcd45cd835ec
|
|
| BLAKE2b-256 |
b5b3449ab8244c5a5a0374b2bb01578b097430f9886c11a4b594a7f6b6b70f95
|
File details
Details for the file player_logger-0.1.1-py3-none-any.whl.
File metadata
- Download URL: player_logger-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"CachyOS Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7109ab4c426fcc56fafc655446e9b265d41544a8650a6e52a66f06390279d982
|
|
| MD5 |
77a66720274a782336ef1bc9ccb3a77f
|
|
| BLAKE2b-256 |
e4c750ce86ca40258af2400b277c730ecffb376a85975518c031f0b83419090f
|