Example usage for Java java.util.logging LogRecord fields, constructors, methods, implement or subclass
The text is from its open source code.
LogRecord(Level level, String msg) Construct a LogRecord with the given level and message values. |
Level | getLevel() Get the logging message level, for example Level.SEVERE. |
String | getLoggerName() Get the source Logger's name. |
String | getMessage() Get the "raw" log message, before localization or formatting. |
long | getMillis() Get truncated event time in milliseconds since 1970. |
Object[] | getParameters() Get the parameters to the log message. |
long | getSequenceNumber() Get the sequence number. |
String | getSourceClassName() Get the name of the class that (allegedly) issued the logging request. |
String | getSourceMethodName() Get the name of the method that (allegedly) issued the logging request. |
int | getThreadID() Get an identifier for the thread where the message originated. |
Throwable | getThrown() Get any throwable associated with the log record. |
void | setLevel(Level level) Set the logging message level, for example Level.SEVERE. |
void | setLoggerName(String name) Set the source Logger's name. |
void | setMessage(String message) Set the "raw" log message, before localization or formatting. |
void | setParameters(Object parameters[]) Set the parameters to the log message. |
void | setResourceBundle(ResourceBundle bundle) Set the localization resource bundle. |
void | setResourceBundleName(String name) Set the localization resource bundle name. |
void | setSourceClassName(String sourceClassName) Set the name of the class that (allegedly) issued the logging request. |
void | setSourceMethodName(String sourceMethodName) Set the name of the method that (allegedly) issued the logging request. |
void | setThrown(Throwable thrown) Set a throwable associated with the log event. |