com.esri.arcgis.system
Interface ILog2

All Superinterfaces:
ILog, Serializable
All Known Implementing Classes:
ILog2Proxy

public interface ILog2
extends ILog, Serializable

Provides access to methods for accessing a log.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 void addMessageEx(int msgType, String methodName, int msgCode, double elapsed, String msg)
          Adds a message to the log.
 boolean willLog(int msgType)
          True if the message type is allowed to be written into the log file.
 
Methods inherited from interface com.esri.arcgis.system.ILog
addMessage
 

Method Detail

willLog

boolean willLog(int msgType)
                throws IOException,
                       AutomationException
True if the message type is allowed to be written into the log file.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
msgType - The msgType (in)
Returns:
The willLog
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addMessageEx

void addMessageEx(int msgType,
                  String methodName,
                  int msgCode,
                  double elapsed,
                  String msg)
                  throws IOException,
                         AutomationException
Adds a message to the log.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
msgType - The msgType (in)
methodName - The methodName (in)
msgCode - The msgCode (in)
elapsed - The elapsed (in)
msg - The msg (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.