Class YAHOO.widget.LogReader

Object
   |
   +--YAHOO.widget.LogReader

class YAHOO.widget.LogReader

Field Summary [top]

string bottom
Public member to access CSS bottom position of the log reader container. 
string fontSize
Public member to access CSS font size of the log reader container. 
boolean footerEnabled
Whether or not the footer UI is enabled for the log reader. 
string height
Public member to access CSS height of the log reader container. 
string left
Public member to access CSS left position of the log reader container. 
boolean logReaderEnabled
Whether or not the log reader is enabled to output log messages. 
boolean newestOnTop
Whether or not newest message is printed on top. 
string right
Public member to access CSS right position of the log reader container. 
string top
Public member to access CSS top position of the log reader container. 
boolean verboseOutput
Whether or not output is verbose (more readable). 
string width
Public member to access CSS width of the log reader container. 

Constructor Summary [top]

YAHOO.widget.LogReader
Class providing UI to read messages logged to YAHOO.widget.Logger. 

Method Summary [top]

void _createSourceCheckbox (source)
 
void hide ()
Hides UI of log reader. 
void pause ()
Pauses output of log messages. 
void resume ()
Resumes output of log messages, including outputting any log messages that have been saved to buffer while paused. 
void setTitle (<string> sTitle)
Updates title to given string. 
void show ()
Shows UI of log reader. 

Field Detail [top]

bottom

string   bottom
Public member to access CSS bottom position of the log reader container.

fontSize

string   fontSize
Public member to access CSS font size of the log reader container.

footerEnabled

boolean   footerEnabled
Whether or not the footer UI is enabled for the log reader. Default: true.

height

string   height
Public member to access CSS height of the log reader container.

left

string   left
Public member to access CSS left position of the log reader container.

logReaderEnabled

boolean   logReaderEnabled
Whether or not the log reader is enabled to output log messages. Default: true.

newestOnTop

boolean   newestOnTop
Whether or not newest message is printed on top. Default: true.

right

string   right
Public member to access CSS right position of the log reader container.

top

string   top
Public member to access CSS top position of the log reader container.

verboseOutput

boolean   verboseOutput
Whether or not output is verbose (more readable). Setting to true will make output more compact (less readable). Default: true.

width

string   width
Public member to access CSS width of the log reader container.

Constructor Detail [top]

YAHOO.widget.LogReader

YAHOO.widget.LogReader ()
Class providing UI to read messages logged to YAHOO.widget.Logger. requires YAHOO.util.Dom DOM utility requires YAHOO.util.Event Event utility optional YAHOO.util.DragDrop Drag and drop utility
Parameters:
el - or ID} containerEl DOM element object or ID of container to wrap reader UI
oConfig - Optional object literal of configuration params

Method Detail [top]

_createSourceCheckbox

void _createSourceCheckbox (source)

hide

void hide ()
Hides UI of log reader. Logging functionality is not disrupted.

pause

void pause ()
Pauses output of log messages. While paused, log messages are not lost, but get saved to a buffer and then output upon resume of log reader.

resume

void resume ()
Resumes output of log messages, including outputting any log messages that have been saved to buffer while paused.

setTitle

void setTitle (<string> sTitle)
Updates title to given string.
Parameters:
sTitle - String to display in log reader's title bar.

show

void show ()
Shows UI of log reader. Logging functionality is not disrupted.