<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>methane</author_name>
  <author_url>https://blog.hatena.ne.jp/methane/</author_url>
  <blog_title>methaneのブログ</blog_title>
  <blog_url>https://methane.hatenablog.jp/</blog_url>
  <categories>
    <anon>python</anon>
  </categories>
  <description>structlogシリーズ、今回（たぶん最終回）は get_logger() について。ソースコードを解説していく前に、まず重要な挙動から。 &gt;&gt;&gt; import structlog &gt;&gt;&gt; from structlog import PrintLogger &gt;&gt;&gt; def logger_factory(): ... print(&quot;creating logger&quot;) ... return PrintLogger() ... &gt;&gt;&gt; structlog.configure(logger_factory=logger_factory) &gt;&gt;&gt; logger = structlog.get_logg…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmethane.hatenablog.jp%2Fentry%2F2024%2F06%2F24%2F174414&quot; title=&quot;structlog.get_logger() と configure() - methaneのブログ&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-06-24 17:44:14</published>
  <title>structlog.get_logger() と configure()</title>
  <type>rich</type>
  <url>https://methane.hatenablog.jp/entry/2024/06/24/174414</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
