WriteEntry method to log tracing information. For logging exception information, use the My. WriteException method; see How to: Log Exceptions. This example uses the My. WriteEntry method to write out the trace information. Make sure the data you write to the log does not include sensitive information such as user passwords. For more information, see Working with Application Logs. Skip to main content. Contents Exit focus mode. Is this page helpful?
Please rate your experience Yes No. Any additional feedback? Submit and view feedback for This product This page. View all page feedback. In this article. Please provide some sample code to create log file and to save exception messages. Improve this question. MarkJ Royson Royson 2, 13 13 gold badges 35 35 silver badges 49 49 bronze badges. Add a comment. Active Oldest Votes.
Do something Improve this answer. Community Bot 1 1 1 silver badge. MarkJ MarkJ Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password.
Post as a guest Name. Email Required, but never shown.
0コメント