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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

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