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
Release history Release notifications | RSS feed
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.2.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for michaelPanLogLib-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd5738b3452e0d4103f4b044170a09c9a8371950cedf44ad199befbc000f1275 |
|
MD5 | 71ad7b3e924d3bebe02912668d25dca7 |
|
BLAKE2b-256 | 831bd26e9fca0d3d2675f1a394205be6fd85ee91c5ba926440e7e3d65e0c0dfd |