Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例外をログに記録する正しい方法は何ですか?
Log.Fatal(exception format, args);
また
logger.FatalException("Got exception.", ex);
ほとんどの場合、好みの問題のようです。log.FatalException("blah", ex)私は2つの理由でモデルを使用する傾向があります。
log.FatalException("blah", ex)