goog.debug.DebugWindow | |
goog.debug.FancyWindow | goog.debug.DebugWindow |
opt_identifier
: string=
Idenitifier for this logging class.
|
opt_prefix
: string=
Prefix pre-pended to messages.
|
Close the options menu.
Returns: boolean
The value false.
|
code » | ||
![]()
Handles the user clicking the exit button, disabled the debug window and
closes the popup.
Arguments:
|
code » | ||
Make a drop down for the log levels.
|
code » | ||
Return the default HTML for the debug window
Returns: string
Html.
|
code » | ||
![]()
No description.
|
code » | ||
Show the options menu.
Returns: boolean
false.
|
code » | ||
![]()
Sync logger levels with any values stored in localStorage.
|
code » | ||
![]()
Resizes the log elements
|
code » | ||
![]()
No description.
|
code » | ||
![]()
No description.
|
code » | ||
![]()
Write logger levels to localStorage if possible.
|
code » |
![]()
Adds a logger name to be filtered.
Arguments:
|
code » | ||
![]()
Adds a log record.
Arguments:
|
code » | ||
![]()
Adds a separator to the debug window.
|
code » | ||
![]()
Clears the contents of the debug window
|
code » | ||
Retrieve data (using cookies).
|
code » | ||
Gets the formatter for outputting to the debug window. The default formatter
is an instance of goog.debug.HtmlFormatter
Returns: goog.debug.Formatter
The formatter in use.
|
code » | ||
No description.
Returns: string
The style rule text, for inclusion in the initial HTML.
|
code » | ||
Gets a valid window name for the debug window. Replaces invalid characters in
IE.
Returns: string
Valid window name.
|
code » | ||
No description.
Returns: boolean
Whether there is an active window.
|
code » | ||
![]()
Initializes the debug window.
|
code » | ||
Whether we are currently capturing logger output.
Returns: boolean
whether we are currently capturing logger output.
|
code » | ||
Whether the DebugWindow is enabled. When the DebugWindow is enabled, it
tries to keep its window open and logs all messages to the window. When the
DebugWindow is disabled, it stops logging messages to its window.
Returns: boolean
Whether the DebugWindow is enabled.
|
code » | ||
![]()
Opens the debug window if it is not already referenced
|
code » | ||
![]()
Removes a logger name to be filtered.
Arguments:
|
code » | ||
![]()
Modify the size of the circular buffer. Allows the log to retain more
information while the window is closed.
Arguments:
|
code » | ||
![]()
Saves the window position size to a cookie
|
code » | ||
![]()
Sets whether we are currently capturing logger output.
Arguments:
|
code » | ||
![]()
Save persistent data (using cookies) for 1 month (cookie specific to this
logger object).
|
code » | ||
![]()
Sets whether the DebugWindow is enabled. When the DebugWindow is enabled, it
tries to keep its window open and log all messages to the window. When the
DebugWindow is disabled, it stops logging messages to its window. The
DebugWindow also saves this state to a cookie so that it's persisted across
application refreshes.
Arguments:
|
code » | ||
![]()
Sets whether the debug window should be force enabled when a severe log is
encountered.
Arguments:
|
code » | ||
![]()
Sets the formatter for outputting to the debug window.
Arguments:
|
code » | ||
![]()
Sets the welcome message shown when the window is first opened or reset.
Arguments:
|
code » | ||
![]()
Write to the log and maybe scroll into view.
|
code » | ||
![]()
Writes the initial HTML of the debug window.
|
code » | ||
![]()
Writes all saved messages to the DebugWindow.
|
code » | ||
![]()
Write to the buffer. If a message hasn't been sent for more than 750ms just
write, otherwise delay for a minimum of 250ms.
Arguments:
|
code » | ||
![]()
Writes a message to the log, possibly opening up the window if it's enabled,
or saving it if it's disabled.
Arguments:
|
code » |
![]()
No description.
|
Code » |
![]()
Reference to timeout used to buffer the output stream.
|
Code » | |
![]()
Whether to force enable the window on a severe log.
|
Code » | |
![]()
Whether we are currently enabled. When the DebugWindow is enabled, it tries
to keep its window open. When it's disabled, it can still be capturing log
output if, but it won't try to write them to the DebugWindow window until
it's enabled.
|
Code » | |
![]()
Loggers that we shouldn't output
|
Code » | |
Formatter for formatted output
|
Code » | |
![]()
Identifier for this logging class
|
Code » | |
![]()
Whether we are currently capturing logger output.
|
Code » | |
![]()
Timestamp for the last time the log was written to.
|
Code » | |
![]()
Array used to buffer log output
|
Code » | |
![]()
Optional prefix to be prepended to error strings
|
Code » | |
![]()
Save the publish handler so it can be removed
|
Code » | |
Buffer for saving the last 1000 messages
|
Code » | |
![]()
HTML string printed when the debug window opens
|
Code » | |
![]()
Reference to debug window
|
Code » | |
![]()
In the process of opening the window
|
Code » |
Gets a sorted array of all the loggers registered.
|
code » | |
Helper function to create a list of locally stored keys. Used to avoid
expensive localStorage.getItem() calls.
Returns: !Object
List of keys.
|
code » |
![]()
Constant indicating if we are able to use localStorage to persist filters
|
Code » | |
![]()
Constant defining the prefix to use when storing log levels
|
Code » | |
![]()
No description.
|
Code » |