Microsoft.VisualStudio.LocalLogger Namespace

Classes

LocalFileLogger

Local file logger writes one line per event. File path specified once per creation and can't be changed during lifetime. It is possible to Enable/Disable logger during the object lifetime. By default logger is created disabled. Once logger enabled log file is either created or opened for appending. Flush on disk happens after every record to be sure that data will persist even in the case of abnormal program termination. Use soft dispose method. No exceptions after dispose, just no-op. That would help for centralized logger, when logger is disposed and some stale component trying to use it. We don't want to fail the whole application in this case.

LocalFileLoggerService

Controls default logger lifetime

NullLocalFileLogger

Null Local file logger placeholder for non-Windows platforms.

Interfaces

ILocalFileLogger

Logger interface

Enums

LocalLoggerSeverity

Severity of the message