<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rikoubou</author_name>
  <author_url>https://blog.hatena.ne.jp/rikoubou/</author_url>
  <blog_title>ソースに絡まるエスカルゴ</blog_title>
  <blog_url>https://rikoubou.hatenablog.com/</blog_url>
  <categories>
    <anon>python</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>今までにpythonで色々とやってきましたが、ロガーをまともに実装したことがなかったので今回はロガーについての記事になります。 あくまで自分で必要だと思った部分のみを記述しているだけなので、詳しくは参考資料に挙げているページ様を参照してください。 では、始めます。 １：pythonのロガー pythonには標準ライブラリの「logging」があるので、これを使うのが楽だと思います。 python公式のloggingの内容ほぼそのままですが、最低限のロガーを書くと以下のようになります。 logging --- Python 用ロギング機能 — Python 3.12.2 ドキュメント ・logg…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frikoubou.hatenablog.com%2Fentry%2F2024%2F03%2F21%2F160754&quot; title=&quot;【python】ロガーについて - ソースに絡まるエスカルゴ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-03-21 16:07:54</published>
  <title>【python】ロガーについて</title>
  <type>rich</type>
  <url>https://rikoubou.hatenablog.com/entry/2024/03/21/160754</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
