<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kalibora</author_name>
  <author_url>https://blog.hatena.ne.jp/kalibora/</author_url>
  <blog_title>OTOBANK Engineering Blog</blog_title>
  <blog_url>https://engineering.otobank.co.jp/</blog_url>
  <categories>
    <anon>Advent Calendar</anon>
    <anon>Symfony2</anon>
  </categories>
  <description>この記事は Symfony Advent Calendar 2016 - Qiita 10日目の記事です。 みんな大好き Console のお話です。 CLI から Monolog Logger を使う Symfony2 or 3 を使っているのであれば Console Component のお世話になっていると思います。 そしてほとんどの場合は便利なサービスを使いたいはずなので、 ContainerAwareCommand を使いますよね。 これを使えばサービスコンテナから Logger を取得し、Web と同じように CLI でもログを吐くことができます。 *1 例えば、下記のようなコマン…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fengineering.otobank.co.jp%2Fentry%2Fsymfony-console-command-name-monolog&quot; title=&quot;Symfony Console のコマンド名を自動的に Monolog のログに出そう - OTOBANK Engineering Blog&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>2016-12-10 10:00:00</published>
  <title>Symfony Console のコマンド名を自動的に Monolog のログに出そう</title>
  <type>rich</type>
  <url>https://engineering.otobank.co.jp/entry/symfony-console-command-name-monolog</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
