hksdk/CH-HCNetSDKV6.1.9.47_build2.../库文件/HCNetSDK_Log_Switch.xml

12 lines
720 B
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="GB2312"?>
<SdkLocal>
<SdkLog>
<logLevel>3</logLevel><!--req, 1-ERROR, 2-DEBUG, 3-INFO-->
<logDirectory>./SDKLOG/</logDirectory><!--the end of the string must be '/'-->
<autoDelete>true</autoDelete><!--true: There are less than 10 files in the directory, it will be auto deleted by sdk when the files are more than 10; false: No upper limit to the number of log files-->
</SdkLog>
<HeartbeatCfg>
<Interval>120</Interval> <!-- 心跳时间间隔单位秒等于0使用默认值120s取值范围为[30, 120] 小于30s间隔为30s大于120s间隔为120s-->
<Count>1</Count> <!-- 触发异常回调需要心跳交互异常的次数等于0使用默认值1次-->
</HeartbeatCfg>
</SdkLocal>