1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <title>API: logger LogWriter (YUI Library)
</title>
5 <link rel=
"stylesheet" type=
"text/css" href=
"assets/api.css">
9 <div id=
"doc3" class=
"yui-t2">
12 <h1>Yahoo! UI Library
</h1>
13 <h3>Logger Widget
<span class=
"subtitle">2.2.0</span></h3>
15 <a href=
"./index.html">Yahoo! UI Library
</a>
16 > <a href=
"./module_logger.html">logger
</a>
32 Class
<b>LogWriter
</b>
33 <span class=
"extends">
36 <span class=
"extends">
41 <!-- class tree goes here -->
46 <div class=
"summary description">
47 The LogWriter class provides a mechanism to log messages through
48 YAHOO.widget.Logger from a named source.
51 <div class=
"section constructor details">
52 <h3><a name=
"constructor_detail">Constructor
</a></h3>
55 <strong>LogWriter
</strong>
64 <div class=
"description">
71 Source of LogWriter instance.
81 <div class=
"section field details">
82 <h3><a name=
"field_detail">Properties
</a></h3>
84 <h4><a name=
"_source">_source
</a>
85 <code>- private String
</code>
88 <div class=
"description">
89 Source of the LogWriter instance.
103 <div class=
"section method details">
104 <h3><a name=
"methodDetails">Methods
</a></h3>
105 <div class=
"content">
107 <a name=
"getSource">getSource
</a></h4>
114 <strong>getSource
</strong>
119 <div class=
"description">
120 Public accessor to get the source name.
123 <div class=
"description">
131 <dd>The LogWriter source.
</dd>
139 <a name=
"log">log
</a></h4>
160 <div class=
"description">
161 Logs a message attached to the source of the LogWriter.
164 <div class=
"description">
169 <code>sMsg
<String
></code>
173 <code>sCategory
<String
></code>
191 <a name=
"setSource">setSource
</a></h4>
198 <strong>setSource
</strong>
208 <div class=
"description">
209 Public accessor to set the source name.
212 <div class=
"description">
217 <code>sSource
<String
></code>
218 Source of LogWriter instance.
235 <a name=
"toString">toString
</a></h4>
242 <strong>toString
</strong>
247 <div class=
"description">
248 Public accessor to the unique name of the LogWriter instance.
251 <div class=
"description">
259 <dd>Unique name of the LogWriter instance.
</dd>
284 <li class=
""><a href=
"module_animation.html">animation
</a></li>
286 <li class=
""><a href=
"module_autocomplete.html">autocomplete
</a></li>
288 <li class=
""><a href=
"module_button.html">button
</a></li>
290 <li class=
""><a href=
"module_calendar.html">calendar
</a></li>
292 <li class=
""><a href=
"module_connection.html">connection
</a></li>
294 <li class=
""><a href=
"module_container.html">container
</a></li>
296 <li class=
""><a href=
"module_datasource.html">datasource
</a></li>
298 <li class=
""><a href=
"module_datatable.html">datatable
</a></li>
300 <li class=
""><a href=
"module_dom.html">dom
</a></li>
302 <li class=
""><a href=
"module_dragdrop.html">dragdrop
</a></li>
304 <li class=
""><a href=
"module_element.html">element
</a></li>
306 <li class=
""><a href=
"module_event.html">event
</a></li>
308 <li class=
""><a href=
"module_history.html">history
</a></li>
310 <li class=
"selected"><a href=
"module_logger.html">logger
</a></li>
312 <li class=
""><a href=
"module_menu.html">menu
</a></li>
314 <li class=
""><a href=
"module_slider.html">slider
</a></li>
316 <li class=
""><a href=
"module_tabview.html">tabview
</a></li>
318 <li class=
""><a href=
"module_treeview.html">treeview
</a></li>
320 <li class=
""><a href=
"module_yahoo.html">yahoo
</a></li>
327 <li class=
""><a href=
"LogMsg.html">LogMsg
</a></li>
328 <li class=
""><a href=
"LogReader.html">LogReader
</a></li>
329 <li class=
"selected"><a href=
"LogWriter.html">LogWriter
</a></li>
330 <li class=
""><a href=
"YAHOO.widget.Logger.html">YAHOO.widget.Logger
</a></li>
337 <li class=
""><a href=
"Logger.js.html">Logger.js
</a></li>
338 <li class=
""><a href=
"LogMsg.js.html">LogMsg.js
</a></li>
339 <li class=
""><a href=
"LogReader.js.html">LogReader.js
</a></li>
340 <li class=
""><a href=
"LogWriter.js.html">LogWriter.js
</a></li>
347 <li><a href=
"#_source">_source
</a>
348 <!--<code><String></code>-->
356 <li><!--<code>String</code>-->
357 <a href=
"#getSource">getSource
</a>
359 <li><!--<code>void</code>-->
360 <a href=
"#log">log
</a>
362 <li><!--<code>void</code>-->
363 <a href=
"#setSource">setSource
</a>
365 <li><!--<code>String</code>-->
366 <a href=
"#toString">toString
</a>
378 Copyright
© 2007 Yahoo! Inc. All rights reserved.