<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kiririmode</author_name>
  <author_url>https://blog.hatena.ne.jp/kiririmode/</author_url>
  <blog_title>理系学生日記</blog_title>
  <blog_url>https://kiririmode.hatenablog.jp/</blog_url>
  <categories>
    <anon>golang</anon>
  </categories>
  <description>golang の構造化ロガーのうち有名なものの一つに logrus があります。構造化ログとして JSON フォーマットを指定するとするとだいたいこんな感じになります {&quot;level&quot;:&quot;info&quot;,&quot;msg&quot;:&quot;hello world&quot;,&quot;time&quot;:&quot;2019-09-01T06:56:59+09:00&quot;,&quot;user&quot;:&quot;kiririmode&quot;} で、このログのタイムスタンプなんですが、できるだけ分解能を細かくしたい。ログにおいてはタイムスタンプって解析の貴重な手がかりなので、秒単位だときつい。せめてミリ秒まで、できればナノ秒まであってほしい。 というわけでプロジェクト内で何とかしてくれって…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkiririmode.hatenablog.jp%2Fentry%2F20190901%2F1567289039&quot; title=&quot;logrusでナノ秒まで時刻を出力したい - 理系学生日記&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>2019-09-01 07:03:59</published>
  <title>logrusでナノ秒まで時刻を出力したい</title>
  <type>rich</type>
  <url>https://kiririmode.hatenablog.jp/entry/20190901/1567289039</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
