Skip to main content

WinForms UI Pack

Project description

Aquaref-Log

原主项目名Flater


简介

为主模块Aquaref及其它扩展模块提供日志输出的功能

使用

导入

from aquareflog import ...

输出记录

from aquareflog import Debug, Error, Info, Success  # 颜色不同,其它效果一样

Debug("Debug")
Error("Error")
Info("Info")
Success("Success")

获取记录

from aquareflog import GetLog, Debug

for index in range(5):
    Debug(f"Debug{index}")

print(GetLog())

禁用输出

from os import environ
environ["FLATER.LOG.ENABLE"] = "false"

启用输出

from os import environ
environ["FLATER.LOG.ENABLE"] = "true"

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

aquaref_log-0.0.1.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

aquaref_log-0.0.1-py2.py3-none-any.whl (2.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file aquaref_log-0.0.1.tar.gz.

File metadata

  • Download URL: aquaref_log-0.0.1.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.8.10 Windows/10

File hashes

Hashes for aquaref_log-0.0.1.tar.gz
Algorithm Hash digest
SHA256 47b43cd9c1849b0b8d941d51bfc7d276984527b9d2699899d3a7665de1a7048b
MD5 07a72df0fab7e1d838a1ebdb3dfa20a2
BLAKE2b-256 efc5523ff829ca09dd5a7f4a30554fa4cddf9267dd7afc3a1e40c0632711e1fb

See more details on using hashes here.

File details

Details for the file aquaref_log-0.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: aquaref_log-0.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 2.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.8.10 Windows/10

File hashes

Hashes for aquaref_log-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ed95b445899fac1da08c7c150fb7eb0d17e1a237387594e45883cce397514183
MD5 70ad69e4c9007e4c108397d948a7520d
BLAKE2b-256 09361f1f1f21c38300b32782b407934214af0fdf2b3cb0689116b5ebc0bf019a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page