Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

功能:监控日志文件是否有新增内容,如果有则输出新增内容。

License

Notifications You must be signed in to change notification settings

xmanrui/PyWatchLog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

21 Commits

Repository files navigation

PyWatchLog

功能:监控日志文件是否有新增内容,如果有则输出新增内容。

使用方法

  • 见demo.py

测试

  • 安装:pip install watchdog
  • 1.运行demo.py
  • 2.generate_log函数会不断生成日志到demo.log文件中
  • 3.run_watch_log函数会打印出demo.log新增的内容

About

功能:监控日志文件是否有新增内容,如果有则输出新增内容。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

Languages

AltStyle によって変換されたページ (->オリジナル) /