createrb Method (Format 9)

Description

Passes the Level, source class name (sourceClass), source method name (sourceMethod), resource bundle name (bundleName), Message, Thrown, Object array, and MsgID, and creates the CJLogRecord object.

Format

public static CJLogRecord createrb(Level level,
                                  String sourceClass,
                                  String sourceMethod,
                                  String bundleName,
                                  String msg,
                                  Throwable thrown,
                                  Object[] params,
                                  String msgID);

Parameters

level:
Specify a message level identifier (for example, SEVERE)
sourceClass:
Specify a class name that publishes a logging request.
sourceMethod:
Specify a method name that publishes a logging request.
bundleName:
Specify a resource bundle name to regionalize the msg.
msg:
Specify a string message or key of the message catalog.
thrown:
Specify an exception object to be set in the LogRecord.
params:
Specify a user-specific Object array (planned to be passed directly to an Object array of the Logger.log method) used by the user.
msgID:
Specify a value (message string) to be output to the MsgID field.

Return value

This method returns the CJLogRecord object.