• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="ascii"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3          "DTD/xhtml1-transitional.dtd">
4<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5<head>
6  <title>googleapiclient.NullHandler</title>
7  <link rel="stylesheet" href="epydoc.css" type="text/css" />
8  <script type="text/javascript" src="epydoc.js"></script>
9</head>
10
11<body bgcolor="white" text="black" link="blue" vlink="#204080"
12      alink="#204080">
13<!-- ==================== NAVIGATION BAR ==================== -->
14<table class="navbar" border="0" width="100%" cellpadding="0"
15       bgcolor="#a0c0ff" cellspacing="0">
16  <tr valign="middle">
17  <!-- Home link -->
18      <th>&nbsp;&nbsp;&nbsp;<a
19        href="googleapiclient-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
20
21  <!-- Tree link -->
22      <th>&nbsp;&nbsp;&nbsp;<a
23        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
24
25  <!-- Index link -->
26      <th>&nbsp;&nbsp;&nbsp;<a
27        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
28
29  <!-- Help link -->
30      <th>&nbsp;&nbsp;&nbsp;<a
31        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
32
33      <th class="navbar" width="100%"></th>
34  </tr>
35</table>
36<table width="100%" cellpadding="0" cellspacing="0">
37  <tr valign="top">
38    <td width="100%">
39      <span class="breadcrumbs">
40        <a href="googleapiclient-module.html">Package&nbsp;googleapiclient</a> ::
41        Class&nbsp;NullHandler
42      </span>
43    </td>
44    <td>
45      <table cellpadding="0" cellspacing="0">
46        <!-- hide/show private -->
47        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
48    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
49        <tr><td align="right"><span class="options"
50            >[<a href="frames.html" target="_top">frames</a
51            >]&nbsp;|&nbsp;<a href="googleapiclient.NullHandler-class.html"
52            target="_top">no&nbsp;frames</a>]</span></td></tr>
53      </table>
54    </td>
55  </tr>
56</table>
57<!-- ==================== CLASS DESCRIPTION ==================== -->
58<h1 class="epydoc">Class NullHandler</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient-pysrc.html#NullHandler">source&nbsp;code</a></span></p>
59<center>
60<center>  <map id="uml_class_diagram_for_googleap" name="uml_class_diagram_for_googleap">
61<area shape="rect" id="node1_18" href="googleapiclient.NullHandler-class.html#emit" title="Do whatever it takes to actually log the specified logging record." alt="" coords="55,487,159,507"/>
62<area shape="rect" id="node1" href="googleapiclient.NullHandler-class.html" title="googleapiclient.NullHandler" alt="" coords="43,455,171,513"/>
63<area shape="rect" id="node2_19" href="javascript:void(0);" title="logging.Handler.name" alt="" coords="18,147,195,167"/>
64<area shape="rect" id="node2_20" href="javascript:void(0);" title="Initializes the instance &#45; basically setting the formatter to None and the filter list to empty." alt="" coords="18,170,195,190"/>
65<area shape="rect" id="node2_21" href="javascript:void(0);" title="logging.Handler.get_name" alt="" coords="18,190,195,210"/>
66<area shape="rect" id="node2_22" href="javascript:void(0);" title="logging.Handler.set_name" alt="" coords="18,210,195,230"/>
67<area shape="rect" id="node2_23" href="javascript:void(0);" title="Acquire a thread lock for serializing access to the underlying I/O." alt="" coords="18,230,195,250"/>
68<area shape="rect" id="node2_24" href="javascript:void(0);" title="Acquire the I/O thread lock." alt="" coords="18,250,195,270"/>
69<area shape="rect" id="node2_25" href="javascript:void(0);" title="Release the I/O thread lock." alt="" coords="18,270,195,290"/>
70<area shape="rect" id="node2_26" href="javascript:void(0);" title="Set the logging level of this handler." alt="" coords="18,290,195,310"/>
71<area shape="rect" id="node2_27" href="javascript:void(0);" title="Format the specified record." alt="" coords="18,310,195,330"/>
72<area shape="rect" id="node2_28" href="javascript:void(0);" title="Conditionally emit the specified logging record." alt="" coords="18,330,195,350"/>
73<area shape="rect" id="node2_29" href="javascript:void(0);" title="Set the formatter for this handler." alt="" coords="18,350,195,370"/>
74<area shape="rect" id="node2_30" href="javascript:void(0);" title="Ensure all logging output has been flushed." alt="" coords="18,370,195,390"/>
75<area shape="rect" id="node2_31" href="javascript:void(0);" title="Tidy up any resources used by the handler." alt="" coords="18,390,195,410"/>
76<area shape="rect" id="node2_32" href="javascript:void(0);" title="Handle errors which occur during an emit() call." alt="" coords="18,410,195,430"/>
77<area shape="rect" id="node2" href="javascript:void(0);" title="Handler instances dispatch logging events to specific destinations." alt="" coords="5,123,207,436"/>
78<area shape="rect" id="node3_33" href="javascript:void(0);" title="Add the specified filter to this handler." alt="" coords="37,37,177,57"/>
79<area shape="rect" id="node3_34" href="javascript:void(0);" title="Remove the specified filter from this handler." alt="" coords="37,57,177,77"/>
80<area shape="rect" id="node3_35" href="javascript:void(0);" title="Determine if a record is loggable by consulting all the filters." alt="" coords="37,77,177,97"/>
81<area shape="rect" id="node3" href="javascript:void(0);" title="A base class for loggers and handlers which allows them to share common code." alt="" coords="24,5,188,104"/>
82</map>
83  <img src="uml_class_diagram_for_googleap.gif" alt='' usemap="#uml_class_diagram_for_googleap" ismap="ismap" class="graph-without-title" />
84</center>
85</center>
86<hr />
87<!-- ==================== INSTANCE METHODS ==================== -->
88<a name="section-InstanceMethods"></a>
89<table class="summary" border="1" cellpadding="3"
90       cellspacing="0" width="100%" bgcolor="white">
91<tr bgcolor="#70b0f0" class="table-header">
92  <td colspan="2" class="table-header">
93    <table border="0" cellpadding="0" cellspacing="0" width="100%">
94      <tr valign="top">
95        <td align="left"><span class="table-header">Instance Methods</span></td>
96        <td align="right" valign="top"
97         ><span class="options">[<a href="#section-InstanceMethods"
98         class="privatelink" onclick="toggle_private();"
99         >hide private</a>]</span></td>
100      </tr>
101    </table>
102  </td>
103</tr>
104<tr>
105    <td width="15%" align="right" valign="top" class="summary">
106      <span class="summary-type">&nbsp;</span>
107    </td><td class="summary">
108      <table width="100%" cellpadding="0" cellspacing="0" border="0">
109        <tr>
110          <td><span class="summary-sig"><a href="googleapiclient.NullHandler-class.html#emit" class="summary-sig-name">emit</a>(<span class="summary-sig-arg">self</span>,
111        <span class="summary-sig-arg">record</span>)</span><br />
112      Do whatever it takes to actually log the specified logging record.</td>
113          <td align="right" valign="top">
114            <span class="codelink"><a href="googleapiclient-pysrc.html#NullHandler.emit">source&nbsp;code</a></span>
115
116          </td>
117        </tr>
118      </table>
119
120    </td>
121  </tr>
122  <tr>
123    <td colspan="2" class="summary">
124    <p class="indent-wrapped-lines"><b>Inherited from <code>logging.Handler</code></b>:
125      <code>__init__</code>,
126      <code>acquire</code>,
127      <code>close</code>,
128      <code>createLock</code>,
129      <code>flush</code>,
130      <code>format</code>,
131      <code>get_name</code>,
132      <code>handle</code>,
133      <code>handleError</code>,
134      <code>release</code>,
135      <code>setFormatter</code>,
136      <code>setLevel</code>,
137      <code>set_name</code>
138      </p>
139    <p class="indent-wrapped-lines"><b>Inherited from <code>logging.Filterer</code></b>:
140      <code>addFilter</code>,
141      <code>filter</code>,
142      <code>removeFilter</code>
143      </p>
144    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
145      <code>__delattr__</code>,
146      <code>__format__</code>,
147      <code>__getattribute__</code>,
148      <code>__hash__</code>,
149      <code>__new__</code>,
150      <code>__reduce__</code>,
151      <code>__reduce_ex__</code>,
152      <code>__repr__</code>,
153      <code>__setattr__</code>,
154      <code>__sizeof__</code>,
155      <code>__str__</code>,
156      <code>__subclasshook__</code>
157      </p>
158    </td>
159  </tr>
160</table>
161<!-- ==================== CLASS VARIABLES ==================== -->
162<a name="section-ClassVariables"></a>
163<table class="summary" border="1" cellpadding="3"
164       cellspacing="0" width="100%" bgcolor="white">
165<tr bgcolor="#70b0f0" class="table-header">
166  <td colspan="2" class="table-header">
167    <table border="0" cellpadding="0" cellspacing="0" width="100%">
168      <tr valign="top">
169        <td align="left"><span class="table-header">Class Variables</span></td>
170        <td align="right" valign="top"
171         ><span class="options">[<a href="#section-ClassVariables"
172         class="privatelink" onclick="toggle_private();"
173         >hide private</a>]</span></td>
174      </tr>
175    </table>
176  </td>
177</tr>
178  <tr>
179    <td colspan="2" class="summary">
180    <p class="indent-wrapped-lines"><b>Inherited from <code>logging.Handler</code></b>:
181      <code>name</code>
182      </p>
183    </td>
184  </tr>
185</table>
186<!-- ==================== PROPERTIES ==================== -->
187<a name="section-Properties"></a>
188<table class="summary" border="1" cellpadding="3"
189       cellspacing="0" width="100%" bgcolor="white">
190<tr bgcolor="#70b0f0" class="table-header">
191  <td colspan="2" class="table-header">
192    <table border="0" cellpadding="0" cellspacing="0" width="100%">
193      <tr valign="top">
194        <td align="left"><span class="table-header">Properties</span></td>
195        <td align="right" valign="top"
196         ><span class="options">[<a href="#section-Properties"
197         class="privatelink" onclick="toggle_private();"
198         >hide private</a>]</span></td>
199      </tr>
200    </table>
201  </td>
202</tr>
203  <tr>
204    <td colspan="2" class="summary">
205    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
206      <code>__class__</code>
207      </p>
208    </td>
209  </tr>
210</table>
211<!-- ==================== METHOD DETAILS ==================== -->
212<a name="section-MethodDetails"></a>
213<table class="details" border="1" cellpadding="3"
214       cellspacing="0" width="100%" bgcolor="white">
215<tr bgcolor="#70b0f0" class="table-header">
216  <td colspan="2" class="table-header">
217    <table border="0" cellpadding="0" cellspacing="0" width="100%">
218      <tr valign="top">
219        <td align="left"><span class="table-header">Method Details</span></td>
220        <td align="right" valign="top"
221         ><span class="options">[<a href="#section-MethodDetails"
222         class="privatelink" onclick="toggle_private();"
223         >hide private</a>]</span></td>
224      </tr>
225    </table>
226  </td>
227</tr>
228</table>
229<a name="emit"></a>
230<div>
231<table class="details" border="1" cellpadding="3"
232       cellspacing="0" width="100%" bgcolor="white">
233<tr><td>
234  <table width="100%" cellpadding="0" cellspacing="0" border="0">
235  <tr valign="top"><td>
236  <h3 class="epydoc"><span class="sig"><span class="sig-name">emit</span>(<span class="sig-arg">self</span>,
237        <span class="sig-arg">record</span>)</span>
238  </h3>
239  </td><td align="right" valign="top"
240    ><span class="codelink"><a href="googleapiclient-pysrc.html#NullHandler.emit">source&nbsp;code</a></span>&nbsp;
241    </td>
242  </tr></table>
243
244  <pre class="literalblock">
245
246Do whatever it takes to actually log the specified logging record.
247
248This version is intended to be implemented by subclasses and so
249raises a NotImplementedError.
250
251</pre>
252  <dl class="fields">
253    <dt>Overrides:
254        logging.Handler.emit
255        <dd><em class="note">(inherited documentation)</em></dd>
256    </dt>
257  </dl>
258</td></tr></table>
259</div>
260<br />
261<!-- ==================== NAVIGATION BAR ==================== -->
262<table class="navbar" border="0" width="100%" cellpadding="0"
263       bgcolor="#a0c0ff" cellspacing="0">
264  <tr valign="middle">
265  <!-- Home link -->
266      <th>&nbsp;&nbsp;&nbsp;<a
267        href="googleapiclient-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
268
269  <!-- Tree link -->
270      <th>&nbsp;&nbsp;&nbsp;<a
271        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
272
273  <!-- Index link -->
274      <th>&nbsp;&nbsp;&nbsp;<a
275        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
276
277  <!-- Help link -->
278      <th>&nbsp;&nbsp;&nbsp;<a
279        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
280
281      <th class="navbar" width="100%"></th>
282  </tr>
283</table>
284<table border="0" cellpadding="0" cellspacing="0" width="100%%">
285  <tr>
286    <td align="left" class="footer">
287    Generated by Epydoc 3.0.1 on Fri Jun 14 15:57:27 2019
288    </td>
289    <td align="right" class="footer">
290      <a target="mainFrame" href="http://epydoc.sourceforge.net"
291        >http://epydoc.sourceforge.net</a>
292    </td>
293  </tr>
294</table>
295
296<script type="text/javascript">
297  <!--
298  // Private objects are initially displayed (because if
299  // javascript is turned off then we want them to be
300  // visible); but by default, we want to hide them.  So hide
301  // them unless we have a cookie that says to show them.
302  checkCookie();
303  // -->
304</script>
305</body>
306</html>
307