Home > Contents > Index >
Expanded TOC | Accordion TOC | Annotated TOC | Index
ICS.LogMsg
Logs a message to the Content Server log file.
Syntax
public void LogMsg(String msg)Parameters
msg
- The message to send to the Content Server log file.
Description
The
LogMsg
method logs a message to the Content Server log file. This is useful for debugging or system monitoring.Example
The following code makes a call and then examines the returned value. If the return value showed a problem, the code calls
LogMsg
to load an error.
boolean success = ics.LoadProperty("futuretense.ini"); if (!success) { ics.LogMsg("Failed to load property file."); int errno = ics.GetErrno
(); // handle error; current properties are intact }
Home > Contents > Index > ![]()
FatWire JAVA Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.