debugwindow.js
No description.

File Location

/goog/debug/debugwindow.js

Classes

goog.debug.DebugWindow
Provides a debug DebugWindow that is bound to the goog.debug.Logger. It handles log messages and writes them to the DebugWindow. This doesn't provide a lot of functionality that the old Gmail logging infrastructure provided like saving debug logs for exporting to the server. Now that we have an event-based logging infrastructure, we can encapsulate that functionality in a separate class.

Public Protected Private

Global Functions

goog.debug.DebugWindow.getCookieKey_(identifierkey) string
Creates a valid cookie key name which is scoped to the given identifier. Substitutes all occurences of invalid cookie name characters (whitespace, ';', and '=') with '_', which is a valid and readable alternative.
Arguments:
identifier : string
Identifier for logging class.
key : string
Data name.
Returns: string  Cookie key name.
code »
goog.debug.DebugWindow.getCookieValue_(identifierkeyopt_default) string
Retrieve data (using cookies).
Arguments:
identifier : string
Identifier for logging class.
key : string
Data name.
opt_default : string=
Optional default value if cookie doesn't exist.
Returns: string  Cookie value.
code »
goog.debug.DebugWindow.isEnabled(identifier) boolean
No description.
Arguments:
identifier : string
Identifier for logging class.
Returns: boolean  Whether the DebugWindow is enabled.
code »

Directory debug

File Reference