Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 506
   
12-37
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(1)
Chapter 12      Helper Classes
LogWrapper Class (.NET and Java Only)
LogWrapper() Constructor
The LogWrapper constructor creates a new LogWrapper object that writes tracing messages to 
System.Console.Out. This constructor also creates an instance of the LogManager, if one does not 
already exist. 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()
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 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.