<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dekuo-03</author_name>
  <author_url>https://blog.hatena.ne.jp/dekuo-03/</author_url>
  <blog_title>工作と競馬2</blog_title>
  <blog_url>https://dekuo-03.hatenablog.jp/</blog_url>
  <categories>
    <anon>技術メモ#Python</anon>
  </categories>
  <description>概要 Pythonでログを画面出力したり、ファイル出力したりするときのコードスニペットをメモ。とりあえず、自分がすぐに使いそうなもの。 詳細 import logging import logging.handlers as handlers # TimedRotatingFileHandler # ログのフォーマット logFormat = '%(levelname)s : %(asctime)s : %(name)s : %(message)s' # ファイルに出力 logFileHandler = logging.FileHandler(出力先ファイルパス) # 一定時間ごとに新しいファ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdekuo-03.hatenablog.jp%2Fentry%2F2020%2F07%2F05%2F124305&quot; title=&quot;Python ログ出力用コードスニペット - 工作と競馬2&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>2020-07-05 12:43:05</published>
  <title>Python ログ出力用コードスニペット</title>
  <type>rich</type>
  <url>https://dekuo-03.hatenablog.jp/entry/2020/07/05/124305</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
