Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 490
   
12-40
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(3)
Chapter 12      Helper Classes
LogWrapper Class (.NET and Java Only)
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 is 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.
Return Values
Returns true if operation succeeded and false if unable to open theTraceConfig.cfg file.