
<span class="sd">    获取最新的指定行数的 log</span>

<span class="sd">    :param lines: 最大的行数</span>
<span class="sd">    :returns: 最新指定行数的 log</span>
<span class="sd">    &quot;&quot;&quot;</span>
    <span class="n">log_path</span> <span class="o">=</span> <span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="n">constants</span><span class="o">.</span><span clas