Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 490
   
12-37
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)
Syntax
void LogWrapper()
Parameters
None.
Return Values
None.
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 you 
no longer need the LogWrapper. 
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 is 
used. If you are using the .NET CIL, call the Dispose method to release system resources when you no 
longer need the LogWrapper.
Syntax
JAVA:
void LogWrapper (string sFileName, long iMaxSize, int iArchives, int 
iFlushIntervalMs)
.NET:
void LogWrapper (string sFileName, int maxSizeKB, int maxFiles, int 
daysUntilExpiration)