Class YAHOO.widget.LogWriter

Object
   |
   +--YAHOO.widget.LogWriter

class YAHOO.widget.LogWriter

Constructor Summary [top]

YAHOO.widget.LogWriter
Class providing ability to log messages through YAHOO.widget.Logger from a named source. 

Method Summary [top]

string getSource ()
Public accessor to get the source name. 
void log (<string> sMsg, <string> sCategory)
Logs a message attached to the source of the LogWriter. 
void setSource (<string> sSource)
Public accessor to set the source name. 
string toString ()
Public accessor to the unique name of the LogWriter instance. 

Constructor Detail [top]

YAHOO.widget.LogWriter

YAHOO.widget.LogWriter ()
Class providing ability to log messages through YAHOO.widget.Logger from a named source.
Parameters:
sSource - Source of LogWriter instance

Method Detail [top]

getSource

string getSource ()
Public accessor to get the source name.
Returns:
The LogWriter source

log

void log (<string> sMsg, <string> sCategory)
Logs a message attached to the source of the LogWriter.
Parameters:
sMsg - The log message
sCategory - Category name

setSource

void setSource (<string> sSource)
Public accessor to set the source name.
Parameters:
sSource - Source of LogWriter instance

toString

string toString ()
Public accessor to the unique name of the LogWriter instance.
Returns:
Unique name of the LogWriter instance