<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>seiunsky</author_name>
  <author_url>https://blog.hatena.ne.jp/seiunsky/</author_url>
  <blog_title>すがブロ</blog_title>
  <blog_url>https://sugamasao.hatenablog.com/</blog_url>
  <categories>
    <anon>プログラム</anon>
    <anon>C言語</anon>
  </categories>
  <description>syslog 経由でログを出力 ターミナルから書き込むには logger コマンドを使うと書き込む事が出来る。 logger -t sample hoge こんな風にすると、 Mar 10 01:52:56 siegfried sample[761]: hoge こんな風に出力される。 -t xxx の部分がプロセス名が出力される部分になる。ちなみに、Mac で実行しているので、Linux 等では出力形式が異なるかもしれない。 C言語では？ syslog を使う。基本的にはオープンして、書き込んで、閉じる。 Pinkdragon.netここを参考に作ってみた。 無駄にラッピングしてしまった。た…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsugamasao.hatenablog.com%2Fentry%2F20090309%2F1236618313&quot; title=&quot;syslog に書き込んでみる - すがブロ&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>2009-03-09 02:05:13</published>
  <title>syslog に書き込んでみる</title>
  <type>rich</type>
  <url>https://sugamasao.hatenablog.com/entry/20090309/1236618313</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
