create Method (Format 4)

Description

Passes the Level, Message, Object, AppName, and MsgID, and creates the CJLogRecord object.

Format

public static CJLogRecord create(Level level,
                                String msg,
                                Object param1,
                                String appName,
                                String msgID);

Parameters

level:
Specify a message level identifier (for example, SEVERE)
msg:
Specify a string message or key of the message catalog.
param1:
Specify an object to be set in the LogRecord.
appName:
Specify a value (application distinguished name) to be output to the AppName field.
msgID:
Specify a value (message string) to be output to the MsgID field.

Return value

This method returns the CJLogRecord object.