console.js
No description.

File Location

/goog/debug/console.js

Classes

goog.debug.Console
Create and install a log handler that logs to window.console if available

Public Protected Private

Global Functions

goog.debug.Console.autoInstall()
Install the console and start capturing if "Debug=true" is in the page URL
code »
goog.debug.Console.logToConsole_(consolefnNamerecord)
Logs the record to the console using the given function. If the function is not available on the console object, the log function is used instead.
Arguments:
console : !Object
The console object.
fnName : string
The name of the function to use.
record : string
The record to log.
code »
goog.debug.Console.setConsole(console)
Sets the console to which to log.
Arguments:
console : !Object
The console to which to log.
code »
goog.debug.Console.show()
Show an alert with all of the captured debug information. Information is only captured if console is not available
code »

Directory debug

File Reference