Class goog.debug.LogRecord
code »LogRecord objects are used to pass logging requests between the logging framework and individual log Handlers.
Constructor
Parameters |
---|
|
Instance Methods
code »getException ( ) ⇒ Object
Get the exception that is part of the log record.
Object
Returns |
---|
|
code »getExceptionText ( ) ⇒ ?string
Get the exception text that is part of the log record.
?string
Returns |
---|
|
Get the logging message level, for example Level.SEVERE.
Returns |
---|
|
code »getLoggerName ( ) ⇒ string
Get the source Logger's name.
string
Returns |
---|
|
code »getMessage ( ) ⇒ string
Get the "raw" log message, before localization or formatting.
string
Returns |
---|
|
Get the sequence number.
Sequence numbers are normally assigned in the LogRecord
constructor, which assigns unique sequence numbers to
each new LogRecord in increasing order.
Returns |
---|
|
Sets all fields of the log record.
Parameters |
---|
|
code »setException ( exception )Set the exception that is part of the log record.
Parameters |
---|
|
code »setExceptionText ( text )Set the exception text that is part of the log record.
Parameters |
---|
|
Set the logging message level, for example Level.SEVERE.
Parameters |
---|
|
code »setLoggerName ( loggerName )Get the source Logger's name.
Parameters |
---|
|
code »setMessage ( msg )Set the "raw" log message, before localization or formatting.
Parameters |
---|
|