<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>et-yoshikawa</author_name>
  <author_url>https://blog.hatena.ne.jp/et-yoshikawa/</author_url>
  <blog_title>EmotionTechテックブログ</blog_title>
  <blog_url>https://tech.emotion-tech.co.jp/</blog_url>
  <categories>
  </categories>
  <description>はじめに こんにちは。株式会社エモーションテックのよしかわです。今回は Rust の tracing クレートを使った Actix Web 用のカスタム JSON ログの実装例を紹介いたします。 この記事は エモーションテック Advent Calendar 2022 の 10 日目の記事です。 動機 今回の実装を行った目的の一つは、Rust で書かれた API サーバーで文脈情報つきのログを出力する方法について学ぶことです。ここでは文脈情報としてどの API が呼ばれたか(例: URL)や誰に API を呼ばれたか(例: ユーザーエージェント)といったものを想定しています。ログにこうした文脈…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.emotion-tech.co.jp%2Fentry%2F2022%2F12%2F10%2F073000&quot; title=&quot;tracing クレートを用いたカスタム JSON ログ - EmotionTechテックブログ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/e/et-yoshikawa/20221209/20221209123238.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-12-10 07:30:00</published>
  <title>tracing クレートを用いたカスタム JSON ログ</title>
  <type>rich</type>
  <url>https://tech.emotion-tech.co.jp/entry/2022/12/10/073000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
