src/sap.ui.core/src/sap/ui/debug/LogViewer.js
function(oWindow, sRootId) {
		this.oWindow = oWindow;
		this.oDomNode = oWindow.document.getElementById(sRootId);
		if (!this.oDomNode) {
			var oDiv = this.oWindow.document.createElement("DIV");
			oDiv.setAttribute("id", sRootId);
			oDiv.style.overflow = "auto";
			oDiv.style.tabIndex = "-1";
			oDiv.style.position = "absolute";
			oDiv.style.bottom = "0px";
			oDiv.style.left = "0px";
			oDiv.style.right = "202px";
			oDiv.style.height = "200px";
			oDiv.style.border = "1px solid gray";
			oDiv.style.fontFamily = "Arial monospaced for SAP,monospace";
			oDiv.style.fontSize   = "11px";
			oDiv.style.zIndex = "999999";
			this.oWindow.document.body.appendChild(oDiv);
			this.oDomNode = oDiv;
		}
		this.iLogLevel = 3; /* Log.LogLevel.INFO */
		this.sLogEntryClassPrefix = undefined;
		this.clear();
		this.setFilter(LogViewer.NO_FILTER);
	}
function(oWindow, sRootId) {
		this.oWindow = oWindow;
		this.oDomNode = oWindow.document.getElementById(sRootId);
		if (!this.oDomNode) {
			var oDiv = this.oWindow.document.createElement("DIV");
			oDiv.setAttribute("id", sRootId);
			oDiv.style.overflow = "auto";
			oDiv.style.tabIndex = "-1";
			oDiv.style.position = "absolute";
			oDiv.style.bottom = "0px";
			oDiv.style.left = "0px";
			oDiv.style.right = "202px";
			oDiv.style.height = "200px";
			oDiv.style.border = "1px solid gray";
			oDiv.style.fontFamily = "Arial monospaced for SAP,monospace";
			oDiv.style.fontSize   = "11px";
			oDiv.style.zIndex = "999999";
			this.oWindow.document.body.appendChild(oDiv);
			this.oDomNode = oDiv;
		}
		this.iLogLevel = 3; /* Log.LogLevel.INFO */
		this.sLogEntryClassPrefix = undefined;
		this.clear();
		this.setFilter(LogViewer.NO_FILTER);
	}
function ( oWindow , sRootId ) { this . oWindow = oWindow ; this . oDomNode = oWindow . document . getElementById ( sRootId ) ; if ( ! this . oDomNode ) { var oDiv = this . oWindow . document . createElement ( "DIV" ) ; oDiv . setAttribute ( "id" , sRootId ) ; oDiv . style . overflow = "auto" ; oDiv . style . tabIndex = "-1" ; oDiv . style . position = "absolute" ; oDiv . style . bottom = "0px" ; oDiv . style . left = "0px" ; oDiv . style . right = "202px" ; oDiv . style . height = "200px" ; oDiv . style . border = "1px solid gray" ; oDiv . style . fontFamily = "Arial monospaced for SAP,monospace" ; oDiv . style . fontSize = "11px" ; oDiv . style . zIndex = "999999" ; this . oWindow . document . body . appendChild ( oDiv ) ; this . oDomNode = oDiv ; } this . iLogLevel = 3 ; /* Log.LogLevel.INFO */ this . sLogEntryClassPrefix = undefined ; this . clear ( ) ; this . setFilter ( LogViewer . NO_FILTER ) ; }
Constructs a LogViewer in the given window, embedded into the given DOM element.
If the DOM element doesn't exist, a DIV is created.

@param {Window} oTargetWindow the window where the log will be displayed in
@param {sRootId} sRootId id of the top level element that will contain the log entries

@class HTML LogViewer that displays all entries of a Logger, as long as they match a filter and a minimal log level
@alias sap.ui.debug.LogViewer
Constructs a LogViewer in the given window embedded into the given DOM element . If the DOM element doesn t exist a DIV is created .