org.apgrid.grpc.ng
Class NgLog
java.lang.Object
org.apgrid.grpc.ng.NgLog
- public class NgLog
- extends java.lang.Object
Constructor Summary |
NgLog()
|
NgLog(java.util.Properties localMachineInfo)
|
NgLog(org.apgrid.grpc.ng.info.RemoteMachineInfo remoteMachineInfo,
int executableID)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGLEVEL_OFF
public static final int LOGLEVEL_OFF
- See Also:
- Constant Field Values
LOGLEVEL_FATAL
public static final int LOGLEVEL_FATAL
- See Also:
- Constant Field Values
LOGLEVEL_ERROR
public static final int LOGLEVEL_ERROR
- See Also:
- Constant Field Values
LOGLEVEL_WARN
public static final int LOGLEVEL_WARN
- See Also:
- Constant Field Values
LOGLEVEL_INFO
public static final int LOGLEVEL_INFO
- See Also:
- Constant Field Values
LOGLEVEL_DEBUG
public static final int LOGLEVEL_DEBUG
- See Also:
- Constant Field Values
LOGCATEGORY_GLOBUS_TOOLKIT
public static final int LOGCATEGORY_GLOBUS_TOOLKIT
- See Also:
- Constant Field Values
LOGCATEGORY_NINFG_PROTOCOL
public static final int LOGCATEGORY_NINFG_PROTOCOL
- See Also:
- Constant Field Values
LOGCATEGORY_NINFG_INTERNAL
public static final int LOGCATEGORY_NINFG_INTERNAL
- See Also:
- Constant Field Values
LOGCATEGORY_NINFG_GRPC
public static final int LOGCATEGORY_NINFG_GRPC
- See Also:
- Constant Field Values
COMMLOG_SEND
public static final java.lang.String COMMLOG_SEND
- See Also:
- Constant Field Values
COMMLOG_RECV
public static final java.lang.String COMMLOG_RECV
- See Also:
- Constant Field Values
NgLog
public NgLog()
NgLog
public NgLog(java.util.Properties localMachineInfo)
throws GrpcException
- Parameters:
localMachineInfo
-
- Throws:
GrpcException
NgLog
public NgLog(org.apgrid.grpc.ng.info.RemoteMachineInfo remoteMachineInfo,
int executableID)
throws GrpcException
- Parameters:
remoteMachineInfo
-
- Throws:
GrpcException
printLog
public void printLog(int category,
int level,
NgGrpcClient client,
java.lang.String msg)
- Parameters:
category
- level
- client
- msg
-
printLog
public void printLog(int category,
int level,
NgGrpcHandle handle,
java.lang.String msg)
- Parameters:
category
- level
- handle
- msg
-
printSessionLog
public void printSessionLog(int category,
int level,
NgGrpcHandle handle,
java.lang.String msg)
- Parameters:
category
- level
- handle
- msg
-
validLogLevelParam
public static boolean validLogLevelParam(java.lang.String val)
- Parameters:
val
-
- Returns: