goog.debug.Formatter |
goog.debug.HtmlFormatter | goog.debug.Formatter |
goog.debug.TextFormatter | goog.debug.Formatter |
opt_prefix
: string=
The prefix to place before text records.
|
Formats a record.
Arguments:
Returns: string
The formatted string.
|
code » | ||
Returns the start time provider. By default, this is the default instance
but can be changed.
Returns: goog.debug.RelativeTimeProvider
The start time provider.
|
code » | ||
![]()
Resets the start relative time.
|
code » | ||
![]()
Sets the start time provider. By default, this is the default instance
but can be changed.
Arguments:
|
code » |
![]()
Whether to append newlines to the end of formatted log records.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
Whether to show absolute time in the DebugWindow.
|
Code » | |
![]()
Whether to show the logger exception text.
|
Code » | |
![]()
Whether to show the logger name in the DebugWindow.
|
Code » | |
![]()
Whether to show relative time in the DebugWindow.
|
Code » | |
![]()
Whether to show the severity level.
|
Code » | |
A provider that returns the relative start time.
|
Code » |
Returns a string for the time/date of the LogRecord.
Arguments:
Returns: string
A string representation of the time/date of the LogRecord.
|
code » | |||
Returns a string for the number of seconds relative to the start time.
Prepads with spaces so that anything less than 1000 seconds takes up the
same number of characters for better formatting.
Arguments:
Returns: string
The number of seconds of the LogRecord relative to the
start time.
|
code » | |||
Returns the number as a two-digit string, meaning it prepends a 0 if the
number if less than 10.
|
code » |