goog.debug.Console
Provided By |
---|
Create and install a log handler that logs to window.console if available
new Console()
Parameters | None. |
---|
Instance Methods
expand_more
this.addFilter( loggerName ) → void
void
expand_more
this.addLogRecord( logRecord ) → void
void
expand_more
this.getFormatter() → goog.debug.formatter.TextFormatter
goog.debug.formatter.TextFormatter
Returns the text formatter used by this console
Parameters | None. | ||
---|---|---|---|
Returns |
|
expand_more
this.publishHandler_( arg0 ) → void
void
Parameters |
|
---|
expand_more
this.removeFilter( loggerName ) → void
void
Removes a logger name to be filtered.
Parameters |
|
---|
expand_more
this.setCapturing( capturing ) → void
void
Sets whether we are currently capturing logger output.
Parameters |
|
---|
Instance Properties
expand_more
this.isCapturing_ → boolean
boolean
No information.
expand_more
this.logBuffer_ → string
string
No information.
Static Functions
expand_more
Console.autoInstall() → void
void
Install the console and start capturing if "Debug=true" is in the page URL
expand_more
Console.setConsole( console ) → void
void
expand_more
Console.show() → void
void
Show an alert with all of the captured debug information. Information is only captured if console is not available