Skip to content

Python-Tools/pyloggerhelper

Repository files navigation

pyloggerhelper

json格式log的帮助程序

使用

from pyloggerhelper import log


def testrun():
    log.info("test")


if __name__ == "__main__":
    log.initialize_for_app("testapp",log_level="INFO",binds={"IP":"0.0.0.0"})
    testrun()