Cisco Cisco Computer Telephony Integration Option 8.5 개발자 가이드

다운로드
페이지 500
   
12-40
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 7.5(1)
Chapter 12      Helper Classes
LogWrapper Class (.NET and Java Only)
Syntax
int GetMaxNumberFiles ()
Parameters
None.
Return Values
Current number of files threshold.
SetMaxDaysBeforeExpire
The SetMaxDaysBeforeExpire method changes the current log file age threshold beyond which the 
active log file will be rolled over into a new file regardless of file size.
Syntax
Java
:void SetMaxDaysBeforeExpire (int iExpires)
.NET
:void SetMaxDaysBeforeExpire (int maxDaysUntilExpiration)
Parameters
maxDaysUntilExpiration
New age threshold. If value is not greater than zero, the default value of 1 is used.
Return Values
None.
ProcessConfigFile
The ProcessConfigFile method opens the default config file (TraceConfig.cfg) in the parent directory 
and updates LogWrapper trace settings with data from the config file.
Syntax
boolean ProcessConfigFile()
Parameters
None.