<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Oratok</author_name>
  <author_url>https://blog.hatena.ne.jp/Oratok/</author_url>
  <blog_title>Rails つまみぐい</blog_title>
  <blog_url>https://rails.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Rails3</anon>
  </categories>
  <description>Ruby on Rails v3.2.11 ログファイルに書き出す Railsの実行時に処理されるコードの中で logger.debug(&quot;ログに吐き出す文字列&quot;) と書いておけば、ログファイル log/development.logに書き出されます(実行モードがdevelopmentのとき限定)。 ログに書き出される情報は以下の5つのレベルのどれかに分類されていて、どのレベルでログを書き出すかで、使用するメソッドが異なります。 :debug logger.debug (デバッグ情報) :info logger.info (一般的な情報) :warn logger.warn (警告情報) :e…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frails.hatenadiary.jp%2Fentry%2F2013%2F02%2F06%2F184831&quot; title=&quot;デバッグ用の文字列をログファイルに書き出す - Rails つまみぐい&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>2013-02-06 18:48:31</published>
  <title>デバッグ用の文字列をログファイルに書き出す</title>
  <type>rich</type>
  <url>https://rails.hatenadiary.jp/entry/2013/02/06/184831</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
