<< Click to Display Table of Contents >>
OZUserDefinedLogger
This class provides methods to implement User Defined Log.
Method Detail
init
public void init(oz.framework.db.OZConnection ozconn, com.forcs.log4oz.OZLog cat) throws OZUserDefinedLogException
Defines the object where the user-defined log will be saved when executing the OZ Server.
Parameters:
ozconn - The DB connection data and the log type to be used when saving user-defined log in the DB
cat - The file information and log type to be used when saving user-defined log in a file
traceLog
public void traceLog(oz.udl.OZUserDefinedLogTarget target, oz.framework.db.OZConnection ozconn, com.forcs.log4oz.OZLog cat) throws OZUserDefinedLogException
Defines the target content to save in the log.
Parameters:
target - User-defined log target
ozconn - The DB connection data and the log type to be used when saving user-defined log in the DB.
cat - The file information and log type to be used when saving user-defined log in the file.
getOZDBAlias
public String getOZDBAlias()
Gets the alias of the connection pool defined in OZ Server.