Skip to content

Commit

Permalink
wtf
Browse files Browse the repository at this point in the history
  • Loading branch information
ALERTua committed Mar 11, 2024
1 parent 7d7844a commit 6278653
Show file tree
Hide file tree
Showing 18 changed files with 137 additions and 166 deletions.
2 changes: 1 addition & 1 deletion .buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: a4770efe3931eccaed8b7f4ffe6a6e88
config: b97db845968df11c442831ae26af0cad
tags: 645f666f9bcd5a90fca523b33c5a78b7
18 changes: 4 additions & 14 deletions _modules/global_logger/global_logger.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>global_logger.global_logger &mdash; Global Logger 0.3.33 documentation</title>
<title>global_logger.global_logger &mdash; Global Logger 0.3.31 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=19f00094" />

Expand All @@ -14,7 +14,7 @@

<script src="../../_static/jquery.js?v=5d32c60e"></script>
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../../_static/documentation_options.js?v=61118ce6"></script>
<script src="../../_static/documentation_options.js?v=f2918295"></script>
<script src="../../_static/doctools.js?v=888ff710"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/js/theme.js"></script>
Expand All @@ -34,7 +34,7 @@
Global Logger
</a>
<div class="version">
0.3.33
0.3.31
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
Expand Down Expand Up @@ -132,16 +132,6 @@ <h1>Source code for global_logger.global_logger</h1><div class="highlight"><pre>



<div class="viewcode-block" id="tz">
<a class="viewcode-back" href="../../global_logger.html#global_logger.global_logger.tz">[docs]</a>
<span class="k">def</span> <span class="nf">tz</span><span class="p">():</span>
<span class="k">try</span><span class="p">:</span>
<span class="k">return</span> <span class="n">pendulum</span><span class="o">.</span><span class="n">local_timezone</span><span class="p">()</span>
<span class="k">except</span><span class="p">:</span>
<span class="k">return</span> <span class="n">pendulum</span><span class="o">.</span><span class="n">UTC</span></div>



<div class="viewcode-block" id="InfoFilter">
<a class="viewcode-back" href="../../global_logger.html#global_logger.global_logger.InfoFilter">[docs]</a>
<span class="k">class</span> <span class="nc">InfoFilter</span><span class="p">(</span><span class="n">logging</span><span class="o">.</span><span class="n">Filter</span><span class="p">):</span>
Expand Down Expand Up @@ -243,7 +233,7 @@ <h1>Source code for global_logger.global_logger</h1><div class="highlight"><pre>
<span class="n">Log</span><span class="o">.</span><span class="n">logs_dir</span><span class="o">.</span><span class="n">mkdir</span><span class="p">(</span><span class="n">parents</span><span class="o">=</span><span class="kc">True</span><span class="p">)</span>

<span class="k">if</span> <span class="n">Log</span><span class="o">.</span><span class="n">log_session_filename</span> <span class="ow">is</span> <span class="kc">None</span><span class="p">:</span>
<span class="n">now</span> <span class="o">=</span> <span class="n">pendulum</span><span class="o">.</span><span class="n">now</span><span class="p">(</span><span class="n">tz</span><span class="o">=</span><span class="n">tz</span><span class="p">())</span>
<span class="n">now</span> <span class="o">=</span> <span class="n">pendulum</span><span class="o">.</span><span class="n">now</span><span class="p">(</span><span class="n">tz</span><span class="o">=</span><span class="n">pendulum</span><span class="o">.</span><span class="n">local_timezone</span><span class="p">())</span>
<span class="n">Log</span><span class="o">.</span><span class="n">log_session_filename</span> <span class="o">=</span> <span class="s2">&quot;</span><span class="si">%s</span><span class="s2">.log&quot;</span> <span class="o">%</span> <span class="n">now</span><span class="o">.</span><span class="n">strftime</span><span class="p">(</span><span class="s1">&#39;%Y-%m-</span><span class="si">%d</span><span class="s1">_%H-%M-%S&#39;</span><span class="p">)</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_clean_logs_folder</span><span class="p">()</span>

Expand Down
6 changes: 3 additions & 3 deletions _modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Overview: module code &mdash; Global Logger 0.3.33 documentation</title>
<title>Overview: module code &mdash; Global Logger 0.3.31 documentation</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../_static/css/theme.css?v=19f00094" />

Expand All @@ -14,7 +14,7 @@

<script src="../_static/jquery.js?v=5d32c60e"></script>
<script src="../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../_static/documentation_options.js?v=61118ce6"></script>
<script src="../_static/documentation_options.js?v=f2918295"></script>
<script src="../_static/doctools.js?v=888ff710"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../_static/js/theme.js"></script>
Expand All @@ -34,7 +34,7 @@
Global Logger
</a>
<div class="version">
0.3.33
0.3.31
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
Expand Down
2 changes: 1 addition & 1 deletion _static/documentation_options.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const DOCUMENTATION_OPTIONS = {
VERSION: '0.3.33',
VERSION: '0.3.31',
LANGUAGE: 'en',
COLLAPSE_INDEX: false,
BUILDER: 'html',
Expand Down
6 changes: 3 additions & 3 deletions authors.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Credits &mdash; Global Logger 0.3.33 documentation</title>
<title>Credits &mdash; Global Logger 0.3.31 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />

Expand All @@ -15,7 +15,7 @@

<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=61118ce6"></script>
<script src="_static/documentation_options.js?v=f2918295"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/js/theme.js"></script>
Expand All @@ -37,7 +37,7 @@
Global Logger
</a>
<div class="version">
0.3.33
0.3.31
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down
6 changes: 3 additions & 3 deletions contributing.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Contributing &mdash; Global Logger 0.3.33 documentation</title>
<title>Contributing &mdash; Global Logger 0.3.31 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />

Expand All @@ -15,7 +15,7 @@

<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=61118ce6"></script>
<script src="_static/documentation_options.js?v=f2918295"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/js/theme.js"></script>
Expand All @@ -37,7 +37,7 @@
Global Logger
</a>
<div class="version">
0.3.33
0.3.31
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down
10 changes: 3 additions & 7 deletions genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Index &mdash; Global Logger 0.3.33 documentation</title>
<title>Index &mdash; Global Logger 0.3.31 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />

Expand All @@ -14,7 +14,7 @@

<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=61118ce6"></script>
<script src="_static/documentation_options.js?v=f2918295"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/js/theme.js"></script>
Expand All @@ -34,7 +34,7 @@
Global Logger
</a>
<div class="version">
0.3.33
0.3.31
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down Expand Up @@ -282,10 +282,6 @@ <h2 id="T">T</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="global_logger.html#global_logger.global_logger.Log.trace">trace() (global_logger.global_logger.Log method)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="global_logger.html#global_logger.global_logger.tz">tz() (in module global_logger.global_logger)</a>
</li>
</ul></td>
</tr></table>
Expand Down
12 changes: 3 additions & 9 deletions global_logger.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>global_logger package &mdash; Global Logger 0.3.33 documentation</title>
<title>global_logger package &mdash; Global Logger 0.3.31 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />

Expand All @@ -15,7 +15,7 @@

<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=61118ce6"></script>
<script src="_static/documentation_options.js?v=f2918295"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/js/theme.js"></script>
Expand All @@ -37,7 +37,7 @@
Global Logger
</a>
<div class="version">
0.3.33
0.3.31
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand All @@ -60,7 +60,6 @@
<li class="toctree-l4"><a class="reference internal" href="#global_logger.global_logger.Log"><code class="docutils literal notranslate"><span class="pre">Log</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="#global_logger.global_logger.clear_message"><code class="docutils literal notranslate"><span class="pre">clear_message()</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="#global_logger.global_logger.get_prev_function_name"><code class="docutils literal notranslate"><span class="pre">get_prev_function_name()</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="#global_logger.global_logger.tz"><code class="docutils literal notranslate"><span class="pre">tz()</span></code></a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="#module-global_logger">Module contents</a></li>
Expand Down Expand Up @@ -334,11 +333,6 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Link to this headi
<span class="sig-prename descclassname"><span class="pre">global_logger.global_logger.</span></span><span class="sig-name descname"><span class="pre">get_prev_function_name</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/global_logger/global_logger.html#get_prev_function_name"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#global_logger.global_logger.get_prev_function_name" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py function">
<dt class="sig sig-object py" id="global_logger.global_logger.tz">
<span class="sig-prename descclassname"><span class="pre">global_logger.global_logger.</span></span><span class="sig-name descname"><span class="pre">tz</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/global_logger/global_logger.html#tz"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#global_logger.global_logger.tz" title="Link to this definition"></a></dt>
<dd></dd></dl>

</section>
<section id="module-global_logger">
<span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-global_logger" title="Link to this heading"></a></h2>
Expand Down
Loading

0 comments on commit 6278653

Please sign in to comment.