Logging Information from the Application (Visual Basic)
This section contains topics that cover how to log information from your application using the
My.Log object, and how to extend the application's logging capabilities.
Log object provides methods for writing information to the application's log listeners, and the
Log object's advanced
TraceSource property provides detailed configuration information. The
Log object is configured by the application's configuration file.
My.Log object is available only for ASP.NET applications. For client applications, use
My.Application.Log. For more information, see Log.
|Write event information to the application's logs.||How to: Write Log Messages|
|Write exception information to the application's logs.||How to: Log Exceptions|
|Write trace information to the application's logs when the application starts and shuts down.||How to: Log Messages When the Application Starts or Shuts Down|
||How to: Write Event Information to a Text File|
||How to: Write to an Application Event Log|
||Walkthrough: Changing Where My.Application.Log Writes Information|
||Walkthrough: Determining Where My.Application.Log Writes Information|
|Create a custom log listener for
||Walkthrough: Creating Custom Log Listeners|
|Filter the output of the
||Walkthrough: Filtering My.Application.Log Output|