goog.debug.DivConsole
Provided By |
---|
A class for visualising logger calls in a div element.
new DivConsole( element )
Parameters |
|
---|
Instance Methods
expand_more
this.addLogRecord( logRecord ) → void
void
expand_more
this.addSeparator() → void
void
Adds a separator to the debug window.
expand_more
this.clear() → void
void
Clears the console.
expand_more
this.getFormatter() → goog.debug.formatter.Formatter
goog.debug.formatter.Formatter
Gets the formatter for outputting to the console. The default formatter is an instance of goog.debug.HtmlFormatter
Parameters | None. | ||
---|---|---|---|
Returns |
|
expand_more
this.installStyles() → void
void
Installs styles for the log messages and its div
expand_more
this.publishHandler_( arg0 ) → void
void
Parameters |
|
---|
expand_more
this.setCapturing( capturing ) → void
void
Sets whether we are currently capturing logger output.
Parameters |
|
---|
expand_more
this.setFormatter( formatter ) → void
void
Sets the formatter for outputting to the console.
Parameters |
|
---|
Instance Properties
expand_more
this.domHelper_ → goog.dom.DomHelper
goog.dom.DomHelper
No information.
expand_more
this.elementOwnerDocument_ → (Document|null)
(Document|null)
No information.
expand_more
this.element_ → (Element|null)
(Element|null)
No information.
expand_more
this.formatter_ → (goog.debug.formatter.HtmlFormatter|null)
(goog.debug.formatter.HtmlFormatter|null)
No information.
expand_more
this.isCapturing_ → boolean
boolean
No information.