goog.debug.Console
Classgoog.debug.Console()
Create and install a log handler that logs to window.console if available
.addFilter(loggerName)
Adds a logger name to be filtered.
loggerName
{string
}
.addLogRecord(logRecord)
Adds a log record.
logRecord
{goog.debug.LogRecord
}
.autoInstall()
Install the console and start capturing if "Debug=true" is in the page URL
.getFormatter()
Returns the text formatter used by this console
goog.debug.TextFormatter
}
.instance
{goog.debug.Console
}Global console logger instance
.removeFilter(loggerName)
Removes a logger name to be filtered.
loggerName
{string
}
.setCapturing(capturing)
Sets whether we are currently capturing logger output.
capturing
{boolean
}
.show()
Show an alert with all of the captured debug information. Information is only captured if console is not available