Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Microsoft.VisualBasic.Logging Namespace
Collapse the table of content
Expand the table of content

Microsoft.VisualBasic.Logging Namespace

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.

Community Additions

ADD
Show:
© 2015 Microsoft