goog.debug.DivConsole
Classgoog.debug.DivConsole(element)
A class for visualising logger calls in a div element.
element
{Element
}
.addLogRecord(logRecord)
Adds a log record.
logRecord
{goog.debug.LogRecord
}
.addSeparator()
Adds a separator to the debug window.
.clear()
Clears the console.
.getFormatter()
Gets the formatter for outputting to the console. The default formatter is an instance of goog.debug.HtmlFormatter
goog.debug.Formatter
}
.installStyles()
Installs styles for the log messages and its div
.setCapturing(capturing)
Sets whether we are currently capturing logger output.
capturing
{boolean
}
.setFormatter(formatter)
Sets the formatter for outputting to the console.
formatter
{goog.debug.Formatter
}