【文件属性】:
文件名称:python-smartinspect:适用于Python的SmartInspect客户端库(http
文件大小:30KB
文件格式:ZIP
更新时间:2021-05-19 21:56:32
Python
python-smartinspect
依存关系:
的Python 2.5
py.test用于运行测试
例子:
简单的Hello World:
>> > from smartinspect . auto import *
>> > si . enabled = True
>> > si . log_debug ( "hello world!" )
手动初始化,而不使用smartinspect.auto模块:
>> > from smartinspect import *
>> > si = SmartInspect ( "myapp" )
>> > si . enabled = True
>> > logger = si . add_session ( "main" )
>> > logger . log_debug ( "hello world!" )
通过TCP登录到
【文件预览】:
python-smartinspect-master
----setup.py(1KB)
----MANIFEST.in(144B)
----LICENSE(1KB)
----README.md(1KB)
----tests()
--------examples()
--------test_bugs.py(66B)
--------test_examples.py(3KB)
----.bzrignore(14B)
----smartinspect()
--------__init__.py(26B)
--------__enum.py(5KB)
--------smartinspect.py(53KB)
--------auto.py(649B)