Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 500
   
12-40
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions
Cisco CTI OS Release 7.2(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.