uCosminexus Application Server, Expansion Guide

[Contents][Index][Back][Next]

9.4 Methods used in the user log output

This section describes the methods of the Logger class which are used for the user log output and the package to which the CJLogRecord class belongs. For details on the list of methods of the CJLogRecord class and the functionality and grammar, see 7. APIs used in the user log functionality in the uCosminexus Application Server API Reference Guide.

Organization of this section
(1) Methods of the Logger class used in the user log output
(2) Package to which the CJLogRecord class belongs

(1) Methods of the Logger class used in the user log output

You use the following log method for receiving and passing AppName and MsgID by using the CJLogRecord method:

void log(LogRecord record)

(2) Package to which the CJLogRecord class belongs

You must import the following package to use the CJLogRecord class with the source program:

com.hitachi.software.ejb.application.userlog

The package is stored in:

Cosminexus-installation-directory\CC\client\lib\HiEJBClientStatic.jar

For the implementation example of programs when using the user log functionality, see 9.5 Implementation for user log output.