pan class="p">(</span><span class="n">file_handler</span><span class="p">)</span>

    <span class="k">return</span> <span class="n">logger</span></div>

<div class="viewcode-block" id="readLog"><a class="viewcode-back" href="../../robot.html#robot.logging.readLog">[文档]</a><span class="k">def</span> <span class="nf">readLog</span><span class="p">(</span><span class="n">lines</span><span class="o">=</span><span class="mi">200</span><span class="p">):</span>
    <span class="sd">&quot;&quot;&quot; </span>