Skip to main content

all kind of log

Project description

Log function library

1.Introduction

Hello user, I am the author of this library. We often deal with logs in daily programming, although writing logs is not too difficult, but this library aims to make it easier to complete the various functions of the log

2.Use method

# pip install michaelPanLogLib
"""
	from michaelPanLogLib,logs import AllKindLog
	a_log = AllKindLog()
	a_log.write_log_file(f"D:/pycharm_project/michaelPanLogLib/test1.yml","hello world")  # Write a content to log file
	a_log.write_log_file(f"D:/pycharm_project/michaelPanLogLib/test1.yml", "hi world")
	a_log.find_log_file(f"D:/pycharm_project/michaelPanLogLib/test1.yml", "world")  # Find every log that contains "hello"
	a_log.clear_log_file(f"D:/pycharm_project/michaelPanLogLib/test1.yml")  # clear the log file
	a_log.delete_file(f"D:/pycharm_project/michaelPanLogLib/test1.yml")  # delete the log file
"""

3.Contact information

# ***************************************************************
# Maintainers:
#     chuntong pan <panzhang1314@gmail.com>
# Date:
#     2023.11
# ***************************************************************

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

michaelPanLogLib-0.0.1.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

michaelPanLogLib-0.0.1-py3-none-any.whl (4.6 kB view hashes)

Uploaded 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