Skip to main content

Logger with colors and traces

Project description

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)

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

y-log-1.0.0.tar.gz (2.1 kB view details)

Uploaded Source

File details

Details for the file y-log-1.0.0.tar.gz.

File metadata

  • Download URL: y-log-1.0.0.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.1

File hashes

Hashes for y-log-1.0.0.tar.gz
Algorithm Hash digest
SHA256 2eb2bba8ce958aab213cec8f17a6119cd72bbbaf3ae94fc7dd6bb877f7767327
MD5 9608d21d849f160db7b69d09c23cebb5
BLAKE2b-256 dcf94a0c86f256df06eb548933de03c98622f93a156eae7c094c735765cfe143

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