Cisco Cisco Computer Telephony Integration OS 8.5 Entwickleranleitung
12-38
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 8.0(1)
Chapter 12 Helper Classes
LogWrapper Class (.NET and Java Only)
Syntax
JAVA:
void LogWrapper (string sFileName, long iMaxSize, int iArchives, int
iFlushIntervalMs)
.NET:
void LogWrapper (string sFileName, int maxSizeKB, int maxFiles, int
daysUntilExpiration)
Parameters
.NET and Java:sFfileName
Name of the trace file.
.NET:maxSizeKB
Maximum size of a single trace file in KB (default is 2048 KB).
Java:iMaxSize
Maximum size of a single trace file.
.NET:maxFiles
Maximum number of trace files to create before older files are deleted (default is 4).
Java:iArchives
Maximum number of trace files stored.
.NET:daysUntilExpiration
Maximum age (in days) of the active trace file before it is rolled over to a new file regardless of size
(default is 1 day) .
(default is 1 day) .
Java:iExpires
Number of days before the trace file expires.
Java:iFlushIntervalMs
Number of milliseconds before data is flushed to the trace file. There is no .NET counterpart for this
parameter.
parameter.
Return Values
None.
Dispose (.NET Only)
The Dispose method
releases system resources used by the LogWrapper.
Syntax
void Dispose ()
Parameters
None.