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.
プログラムは、トラブルシューティングのために常に大量のログを生成します。私の質問は、いつプログラマーがログを使用すべきかということです。たとえば、ステータスが変化した場合、ログを出力する必要があります。または、関数を呼び出すとき、または関数から戻るときに呼び出す必要があるログは、呼び出し元のスタックを示します。