Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 640
12-51
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
 
Chapter 12      Helper Classes
LogWrapper Class (.NET and Java Only)
LogWrapper(String filename) Constructor
This constructor creates a new LogWrapper object that traces to the file specified 
in the fileName parameter. If you are using the .NET CIL, call the Dispose method 
to release system resources when the LogWrapper is no longer needed. 
Syntax
void LogWrapper (string sFileName)
Parameters
sFileName 
Name of the trace file. 
Return Values
None.
LogWrapper(string, int, int, int) Constructor
Creates a new LogWrapper object that traces to the file specified in the fileName 
parameter and sets all the provided tracing properties. If the corresponding 
parameter value is set to 0 then the default value will be used. If you are using the 
.NET CIL, call the Dispose method to release system resources when the 
LogWrapper is no longer needed.
Syntax
JAVA:
void LogWrapper (string sFileName, long iMaxSize, int 
iArchives, int iFlushIntervalMs)
.NET:
void LogWrapper (string sFileName, int maxSizeKB, int maxFiles, 
int daysUntilExpiration)