public class LogUtil extends Object
LogUtil
class provides methods which are used by
circle of trust manager to write logs.Constructor and Description |
---|
LogUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
access(Level level,
String msgid,
String[] data)
Logs message to COT access logs.
|
static void |
access(Level level,
String msgid,
String[] data,
Object session)
Logs message to COT access logs.
|
static void |
error(Level level,
String msgid,
String[] data)
Logs error messages to COT error log.
|
static void |
error(Level level,
String msgid,
String[] data,
Object session)
Logs error messages to COT error log.
|
static boolean |
isAccessLoggable(Level level)
Checks if an access message of the given level would actually be logged
by this logger.
|
static boolean |
isErrorLoggable(Level level)
Checks if an error message of the given level would actually be logged
by this logger.
|
boolean |
isLogEnabled()
Checks if the logging is enabled.
|
public static final String INVALID_COT_NAME
public static final String CONFIG_ERROR_MODIFY_COT_DESCRIPTOR
public static final String CONFIG_ERROR_GET_ALL_COT_DESCRIPTOR
public static final String NO_COT_NAME_CREATE_COT_DESCRIPTOR
public static final String COT_EXISTS_CREATE_COT_DESCRIPTOR
public static final String INVALID_COT_TYPE
public static final String CONFIG_ERROR_CREATE_COT_DESCRIPTOR
public static final String COT_DESCRIPTOR_CREATED
public static final String NULL_COT_NAME_ADD_COT_DESCRIPTOR
public static final String NULL_ENTITYID_ADD_COT_DESCRIPTOR
public static final String CONFIG_ERROR_ADD_COT_MEMBER
public static final String NULL_COT_NAME_REMOVE_COT_MEMBER
public static final String NULL_ENTITYID_REMOVE_COT_MEMBER
public static final String CONFIG_ERROR_REMOVE_COT_MEMBER
public static final String NULL_COT_NAME_LIST_COT
public static final String CONFIG_ERROR_LIST_COT_MEMBER
public static final String COT_DESCRIPTOR_DELETED
public static final String CONFIG_ERROR_DELETE_COT_DESCRIPTOR
public static final String INVALID_NAME_ERROR_DELETE_COT_DESCRIPTOR
public static final String HAS_ENTITIES_DELETE_COT_DESCRIPTOR
public static final String INVALID_COT_TYPE_DELETE_COT_DESCRIPTOR
public static final String COT_FROM_CACHE
public static final String COT_DESCRIPTOR_RETRIEVED
public static final String CONFIG_ERROR_GET_COT_DESCRIPTOR
public static final String CONFIG_ERROR_GET_ALL_ACTIVE_COT
public static final String CONFIG_ERROR_RETREIVE_COT
public static void access(Level level, String msgid, String[] data)
level
- the log level , these are based on those
defined in java.util.logging.Level, the values for
level can be any one of the following : msgid
- the message or a message identifier.data
- string array of dynamic data to be replaced in the message.public static void access(Level level, String msgid, String[] data, Object session)
level
- the log level , these are based on those
defined in java.util.logging.Level, the values for
level can be any one of the following : msgid
- the message or a message identifier.data
- string array of dynamic data to be replaced in the message.session
- the User's session objectpublic static void error(Level level, String msgid, String[] data)
level
- the log level , these are based on those
defined in java.util.logging.Level, the values for
level can be any one of the following : msgid
- the message or a message identifier.data
- string array of dynamic data to be replaced in the message.public static void error(Level level, String msgid, String[] data, Object session)
level
- the log level , these are based on those
defined in java.util.logging.Level, the values for
level can be any one of the following : msgid
- the message or a message identifier.data
- string array of dynamic data to be replaced in the message.session
- the User's Session object.public boolean isLogEnabled()
public static boolean isAccessLoggable(Level level)
level
- a message logging level.public static boolean isErrorLoggable(Level level)
level
- a message logging level.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.