@Deprecated public interface Logger
Modifier and Type | Method and Description |
---|---|
void |
access(Level level,
String messageID,
String[] data,
Object session)
Deprecated.
Logs message to the access logs.
|
void |
access(Level level,
String msgid,
String[] data,
Object session,
Map props)
Deprecated.
Writes access to a component into a log.
|
void |
error(Level level,
String messageId,
String[] data,
Object session)
Deprecated.
Logs error messages to the error logs.
|
void |
error(Level level,
String msgid,
String[] data,
Object session,
Map props)
Deprecated.
Writes error occurred in a component into a log.
|
void |
init(String componentName)
Deprecated.
Initializes the logging for the component.
|
boolean |
isAccessLoggable(Level level)
Deprecated.
Checks if an access message of the given level would actually be logged
by this logger.
|
boolean |
isErrorLoggable(Level level)
Deprecated.
Checks if an error message of the given level would actually be logged
by this logger.
|
boolean |
isLogEnabled()
Deprecated.
Checks if the logging is enabled.
|
void init(String componentName) throws LogException
componentName
- the component name.LogException
- if there is an error
during initialization.void access(Level level, String messageID, String[] data, Object session) throws LogException
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 : messageID
- the message or a message identifier.data
- string array of dynamic data to be replaced in the message.session
- the User's session objectLogException
- if there is an error.void access(Level level, String msgid, String[] data, Object session, Map props) throws LogException
level
- indicating log levelmsgid
- Message iddata
- string array of dynamic data only known during run timesession
- Session object (it could be null)props
- representing log record columnsLogException
- if there is an error.void error(Level level, String messageId, String[] data, Object session) throws LogException
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 : messageId
- the message or a message identifier.data
- string array of dynamic data to be replaced in the message.session
- the User's Session object.LogException
- if there is an error.void error(Level level, String msgid, String[] data, Object session, Map props) throws LogException
level
- indicating log levelmsgid
- Message iddata
- string array of dynamic data only known during run timesession
- Session object (it could be null)props
- log record columnsLogException
- if there is an error.boolean isLogEnabled()
boolean isAccessLoggable(Level level)
level
- a message logging level defined in java.util.logging.Level.boolean isErrorLoggable(Level level)
level
- a message logging level defined in java.util.logging.Level.Copyright © 2010-2018, ForgeRock All Rights Reserved.