Home > Contents > Index >
Expanded TOC | Accordion TOC | Annotated TOC | Index
ICS.LogMsg
Logs a message to the Sites log file.
Syntax
public void LogMsg(String msg)Parameters
msg
- The message to send to the Sites log file.
Description
The
LogMsg
method logs a message to the Sites 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 > Oracle JAVA Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.