source: branches/objectmq-1.0/lib/rabbitmq-java-client-javadoc-3.0.1/com/rabbitmq/tools/Tracer.Logger.html @ 112

Last change on this file since 112 was 33, checked in by amoreno, 11 years ago

new release version

File size: 9.8 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!--NewPage-->
3<HTML>
4<HEAD>
5<!-- Generated by javadoc (build 1.6.0_18) on Tue Dec 11 11:47:09 GMT 2012 -->
6<TITLE>
7Tracer.Logger
8</TITLE>
9
10<META NAME="date" CONTENT="2012-12-11">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
13
14<SCRIPT type="text/javascript">
15function windowTitle()
16{
17    if (location.href.indexOf('is-external=true') == -1) {
18        parent.document.title="Tracer.Logger";
19    }
20}
21</SCRIPT>
22<NOSCRIPT>
23</NOSCRIPT>
24
25</HEAD>
26
27<BODY BGCOLOR="white" onload="windowTitle();">
28<HR>
29
30
31<!-- ========= START OF TOP NAVBAR ======= -->
32<A NAME="navbar_top"><!-- --></A>
33<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35<TR>
36<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37<A NAME="navbar_top_firstrow"><!-- --></A>
38<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39  <TR ALIGN="center" VALIGN="top">
40  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
47  </TR>
48</TABLE>
49</TD>
50<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
51</EM>
52</TD>
53</TR>
54
55<TR>
56<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
57&nbsp;<A HREF="../../../com/rabbitmq/tools/Tracer.AsyncLogger.html" title="class in com.rabbitmq.tools"><B>PREV CLASS</B></A>&nbsp;
58&nbsp;NEXT CLASS</FONT></TD>
59<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
60  <A HREF="../../../index.html?com/rabbitmq/tools/Tracer.Logger.html" target="_top"><B>FRAMES</B></A>  &nbsp;
61&nbsp;<A HREF="Tracer.Logger.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
62&nbsp;<SCRIPT type="text/javascript">
63  <!--
64  if(window==top) {
65    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
66  }
67  //-->
68</SCRIPT>
69<NOSCRIPT>
70  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
71</NOSCRIPT>
72
73
74</FONT></TD>
75</TR>
76<TR>
77<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
78  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
79<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
80DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
81</TR>
82</TABLE>
83<A NAME="skip-navbar_top"></A>
84<!-- ========= END OF TOP NAVBAR ========= -->
85
86<HR>
87<!-- ======== START OF CLASS DATA ======== -->
88<H2>
89<FONT SIZE="-1">
90com.rabbitmq.tools</FONT>
91<BR>
92Interface Tracer.Logger</H2>
93<DL>
94<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../com/rabbitmq/tools/Tracer.AsyncLogger.html" title="class in com.rabbitmq.tools">Tracer.AsyncLogger</A></DD>
95</DL>
96<DL>
97<DT><B>Enclosing class:</B><DD><A HREF="../../../com/rabbitmq/tools/Tracer.html" title="class in com.rabbitmq.tools">Tracer</A></DD>
98</DL>
99<HR>
100<DL>
101<DT><PRE>public static interface <B>Tracer.Logger</B></DL>
102</PRE>
103
104<P>
105Logging strings to an outputStream. Logging may be started and stopped.
106<P>
107
108<P>
109<HR>
110
111<P>
112
113<!-- ========== METHOD SUMMARY =========== -->
114
115<A NAME="method_summary"><!-- --></A>
116<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
117<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
118<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
119<B>Method Summary</B></FONT></TH>
120</TR>
121<TR BGCOLOR="white" CLASS="TableRowColor">
122<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
123<CODE>&nbsp;void</CODE></FONT></TD>
124<TD><CODE><B><A HREF="../../../com/rabbitmq/tools/Tracer.Logger.html#log(java.lang.String)">log</A></B>(java.lang.String&nbsp;msg)</CODE>
125
126<BR>
127&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Write msg to the log.</TD>
128</TR>
129<TR BGCOLOR="white" CLASS="TableRowColor">
130<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
131<CODE>&nbsp;boolean</CODE></FONT></TD>
132<TD><CODE><B><A HREF="../../../com/rabbitmq/tools/Tracer.Logger.html#start()">start</A></B>()</CODE>
133
134<BR>
135&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Start logging, that is, printing log entries written using
136 <A HREF="../../../com/rabbitmq/tools/Tracer.Logger.html#log(java.lang.String)"><CODE>log(String)</CODE></A>.</TD>
137</TR>
138<TR BGCOLOR="white" CLASS="TableRowColor">
139<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
140<CODE>&nbsp;boolean</CODE></FONT></TD>
141<TD><CODE><B><A HREF="../../../com/rabbitmq/tools/Tracer.Logger.html#stop()">stop</A></B>()</CODE>
142
143<BR>
144&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stop logging, that is, stop printing log entries written using
145 <A HREF="../../../com/rabbitmq/tools/Tracer.Logger.html#log(java.lang.String)"><CODE>log(String)</CODE></A>.</TD>
146</TR>
147</TABLE>
148&nbsp;
149<P>
150
151<!-- ============ METHOD DETAIL ========== -->
152
153<A NAME="method_detail"><!-- --></A>
154<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
155<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
156<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
157<B>Method Detail</B></FONT></TH>
158</TR>
159</TABLE>
160
161<A NAME="start()"><!-- --></A><H3>
162start</H3>
163<PRE>
164boolean <B>start</B>()</PRE>
165<DL>
166<DD>Start logging, that is, printing log entries written using
167 <A HREF="../../../com/rabbitmq/tools/Tracer.Logger.html#log(java.lang.String)"><CODE>log(String)</CODE></A>. Multiple successive starts are equivalent to a
168 single start.
169<P>
170<DD><DL>
171
172<DT><B>Returns:</B><DD><code>true</code> if start actually started the logger;
173         <code>false</code> otherwise.</DL>
174</DD>
175</DL>
176<HR>
177
178<A NAME="stop()"><!-- --></A><H3>
179stop</H3>
180<PRE>
181boolean <B>stop</B>()</PRE>
182<DL>
183<DD>Stop logging, that is, stop printing log entries written using
184 <A HREF="../../../com/rabbitmq/tools/Tracer.Logger.html#log(java.lang.String)"><CODE>log(String)</CODE></A>. Flush preceding writes. The logger can only be
185 stopped if started. Multiple successive stops are equivalent to a
186 single stop.
187<P>
188<DD><DL>
189
190<DT><B>Returns:</B><DD><code>true</code> if stop actually stopped the logger;
191         <code>false</code> otherwise.</DL>
192</DD>
193</DL>
194<HR>
195
196<A NAME="log(java.lang.String)"><!-- --></A><H3>
197log</H3>
198<PRE>
199void <B>log</B>(java.lang.String&nbsp;msg)</PRE>
200<DL>
201<DD>Write msg to the log. This may block, and may block indefinitely if
202 the logger is stopped.
203<P>
204<DD><DL>
205<DT><B>Parameters:</B><DD><CODE>msg</CODE> - </DL>
206</DD>
207</DL>
208<!-- ========= END OF CLASS DATA ========= -->
209<HR>
210
211
212<!-- ======= START OF BOTTOM NAVBAR ====== -->
213<A NAME="navbar_bottom"><!-- --></A>
214<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
215<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
216<TR>
217<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
218<A NAME="navbar_bottom_firstrow"><!-- --></A>
219<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
220  <TR ALIGN="center" VALIGN="top">
221  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
222  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
223  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
224  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
225  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
226  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
227  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
228  </TR>
229</TABLE>
230</TD>
231<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
232</EM>
233</TD>
234</TR>
235
236<TR>
237<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
238&nbsp;<A HREF="../../../com/rabbitmq/tools/Tracer.AsyncLogger.html" title="class in com.rabbitmq.tools"><B>PREV CLASS</B></A>&nbsp;
239&nbsp;NEXT CLASS</FONT></TD>
240<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
241  <A HREF="../../../index.html?com/rabbitmq/tools/Tracer.Logger.html" target="_top"><B>FRAMES</B></A>  &nbsp;
242&nbsp;<A HREF="Tracer.Logger.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
243&nbsp;<SCRIPT type="text/javascript">
244  <!--
245  if(window==top) {
246    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
247  }
248  //-->
249</SCRIPT>
250<NOSCRIPT>
251  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
252</NOSCRIPT>
253
254
255</FONT></TD>
256</TR>
257<TR>
258<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
259  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
260<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
261DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
262</TR>
263</TABLE>
264<A NAME="skip-navbar_bottom"></A>
265<!-- ======== END OF BOTTOM NAVBAR ======= -->
266
267<HR>
268
269</BODY>
270</HTML>
Note: See TracBrowser for help on using the repository browser.