Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Microsoft.VisualBasic.Logging Namespace

Note: This namespace is new in the .NET Framework version 2.0.

The Microsoft.VisualBasic.Logging namespace contains types that support the My logging objects in Visual Basic and provides a simple log listener that directs logging output to file.

For more information about the My logging objects, see My.Application.Log Object and My.Log Object.

 ClassDescription
Public classAspLogProvides a property and methods for writing event and exception information to the application's log listeners.
Public classFileLogTraceListenerProvides a simple listener that directs logging output to file.
Public classLogProvides a property and methods for writing event and exception information to the application's log listeners.

 EnumerationDescription
Public enumerationDiskSpaceExhaustedOptionDetermines what to do when the FileLogTraceListener object attempts to write to a log and there is less free disk space available than specified by the ReserveDiskSpace property.
Public enumerationLogFileCreationScheduleOptionDetermines which date to include in the names of the FileLogTraceListener class log files.
Public enumerationLogFileLocationDetermines which predefined path the FileLogTraceListener class uses to write its log files.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft