From 0f2ca718b973b72cbf8297de749d6b5efc019351 Mon Sep 17 00:00:00 2001 From: HUANG SIZHE Date: Thu, 14 Jan 2021 17:56:38 +0800 Subject: [PATCH] update --- CHANGELOG.md | 4 ++-- README.md | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cfe4ce0..8b2f194 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,3 @@ -# 0.0.1 - +# 0.0.1 + 项目创建 \ No newline at end of file diff --git a/README.md b/README.md index 83c4c11..7c51b3e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,18 @@ # pyloggerhelper + json格式log的帮助程序 + +## 使用 + +```python +from pyloggerhelper import log + + +def testrun(): + log.info("test") + + +if __name__ == "__main__": + log.initialize_for_app("testapp") + testrun() +``` \ No newline at end of file