0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

.NET8のApplication InsightsでTrace/Informationログをタイムラインに出す方法

Posted at

概要

appsettings.json(デバッグ用途と分ける場合はappsettings.Development.json)に出力するログレベルを記載する。ログレベルはTrace<Debug<Information<Warning<Error<Criticalの順で優先度が高くなる。出力しない場合はNoneを指定する。

appsettings.json

{
    "Logging": {
        "ApplicationInsights": {
            "LogLevel": {
                "Default": "Trace"
            }
        }
    }
}

参考資料

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?