Cisco Cisco Customer Voice Portal 8.0(1) Developer's Guide

Page of 122
HashSet getEventsListeningFor()
This method returns the 
HashSet
 containing the event IDs that the logger is handling. This
method is called by VXML Server to determine if to send a new event to the logger. This
methods simply returns the protected member variable 
eventsToListenFor
 defined in
LoggerBase
.
String getLogFileDirectory()
This method returns the full path of the directory VXML Server has provided this logger to
store its logs, if necessary. On startup, VXML Server creates a folder for each global logger
instance within the global 
logs
 folder. It also creates a folder for each application logger
instance within the 
logs
 folder of the particular application. The folders are given the logger
instance name. The folder is for exclusive use of the logger instance should it require it.
Should the logger create log files, it should use this directory unless the logger’s is designed
to log somewhere else. Should the logger not use files, such as if it logs directly to a database,
this method and the folder it references can be ignored.
Application Logger Utility Methods
The following utility methods apply only to application loggers.
String getApplicationName()
This method returns the name of the application that the logger instance belongs to.
String enforceCallEventOrder()
This method returns 
true
 if the logger instance has been configured to enforce the call event
order, 
false
 otherwise. This is useful if the logger wishes to throw an error if the logger
instance was not configured a certain way.
Programming Guide for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 8.0(1)
90
Chapter 13: Loggers
Utility Methods