API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.util.logging. LogRecord View Source
Author(s)
Since
1.4
Version
1.24, 11/17/05
Serial
Hierarchy
 Object
      LogRecord
Implements
 Serializable
Subclasses
Description
public class LogRecord
  LogRecord objects are used to pass logging requests between the logging framework and individual log Handlers.
See also:   
Constructors
public LogRecord (Level level, String msg)
  Construct a LogRecord with the given level and message values.
Methods
Hide/Show inherited methods
public Level getLevel ()
  Get the logging message level, for example Level.SEVERE.
public String getLoggerName ()
  Get the source Logger name's
public String getMessage ()
  Get the "raw" log message, before localization or formatting.
public long getMillis ()
  Get event time in milliseconds since 1970.
public Object getParameters ()
  Get the parameters to the log message.
public ResourceBundle getResourceBundle ()
  Get the localization resource bundle
public String getResourceBundleName ()
  Get the localization resource bundle name
public long getSequenceNumber ()
  Get the sequence number.
public String getSourceClassName ()
  Get the name of the class that (allegedly) issued the logging request.
public String getSourceMethodName ()
  Get the name of the method that (allegedly) issued the logging request.
public int getThreadID ()
  Get an identifier for the thread where the message originated.
public Throwable getThrown ()
  Get any throwable associated with the log record.
public void setLevel (Level level)
  Set the logging message level, for example Level.SEVERE.
public void setLoggerName (String name)
  Set the source Logger name.
public void setMessage (String message)
  Set the "raw" log message, before localization or formatting.
public void setMillis (long millis)
  Set event time.
public void setParameters (Object parameters)
  Set the parameters to the log message.
public void setResourceBundle (ResourceBundle bundle)
  Set the localization resource bundle.
public void setResourceBundleName (String name)
  Set the localization resource bundle name.
public void setSequenceNumber (long seq)
  Set the sequence number.
public void setSourceClassName (String sourceClassName)
  Set the name of the class that (allegedly) issued the logging request.
public void setSourceMethodName (String sourceMethodName)
  Set the name of the method that (allegedly) issued the logging request.
public void setThreadID (int threadID)
  Set an identifier for the thread where the message originated.
public void setThrown (Throwable thrown)
  Set a throwable associated with the log event.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar