Skip to main content

ylog

logger 颜色+代码定位

安装

pip install ylog

示例

import ylog

# 默认日志级别为 info, debug 将不会打印
ylog.Debug('debug msg')
ylog.Info('info msg')
ylog.Warn('warn msg')
ylog.Error('error msg')

# 设置日志级别
ylog.set_level(ylog.LEVEL_WARNING)

Metadata

Release files for y-log 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for y-log 1.0.0
File Size Uploaded Provenance
y-log-1.0.0.tar.gz 2.1 kB Without provenance Details

Release files / y-log-1.0.0.tar.gz

Download URL y-log-1.0.0.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2eb2bba8ce958aab213cec8f17a6119cd72bbbaf3ae94fc7dd6bb877f7767327
BLAKE2b-256 checksum
How to use checksums
dcf94a0c86f256df06eb548933de03c98622f93a156eae7c094c735765cfe143
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.1

Security for y-log 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page