This documentation is archived and is not being maintained.
FileLogger Class
Visual Studio 2010
Extends the ConsoleLogger to log messages to a file rather than the console window.
Assembly: Microsoft.Build.Engine (in Microsoft.Build.Engine.dll)
The FileLogger type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Parameters | Gets or sets the parameters passed to the ConsoleLogger. (Inherited from ConsoleLogger.) |
![]() | ShowSummary | Gets or sets a value indicating whether the logger will display a summary of errors and warnings. (Inherited from ConsoleLogger.) |
![]() | SkipProjectStartedText | Gets or sets a value indicating whether the logger will display messages when new projects are started during the build. (Inherited from ConsoleLogger.) |
![]() | Verbosity | Gets or sets the LoggerVerbosity level of the logger. (Inherited from ConsoleLogger.) |
![]() | WriteHandler | Gets or sets to the WriteHandler delegate for the ConsoleLogger. (Inherited from ConsoleLogger.) |
| Name | Description | |
|---|---|---|
![]() | ApplyParameter | Adds the specified parameter name and value to the logger. (Inherited from ConsoleLogger.) |
![]() | BuildFinishedHandler | Handles the BuildFinished event. (Inherited from ConsoleLogger.) |
![]() | BuildStartedHandler | Handles the BuildStarted event. (Inherited from ConsoleLogger.) |
![]() | CustomEventHandler | Handles the CustomEventRaised event. (Inherited from ConsoleLogger.) |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | ErrorHandler | Handles the ErrorRaised event. (Inherited from ConsoleLogger.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Initialize(IEventSource) | Registers the logger for the specified events. (Overrides ConsoleLogger::Initialize(IEventSource).) |
![]() | Initialize(IEventSource, Int32) | Registers the logger for the specified events. (Overrides ConsoleLogger::Initialize(IEventSource, Int32).) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | MessageHandler | Handles the MessageRaised event. (Inherited from ConsoleLogger.) |
![]() | ProjectFinishedHandler | Handles the ProjectFinished event. (Inherited from ConsoleLogger.) |
![]() | ProjectStartedHandler | Handles the ProjectStarted event. (Inherited from ConsoleLogger.) |
![]() | Shutdown | Stops the logger, releases all resources, and closes the file to which the logger was writing. (Overrides ConsoleLogger::Shutdown().) |
![]() | TargetFinishedHandler | Handles the TargetFinished event. (Inherited from ConsoleLogger.) |
![]() | TargetStartedHandler | Handles the TargetStarted event. (Inherited from ConsoleLogger.) |
![]() | TaskFinishedHandler | Handles the TaskFinished event. (Inherited from ConsoleLogger.) |
![]() | TaskStartedHandler | Handles the TaskStarted event. (Inherited from ConsoleLogger.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | WarningHandler | Handles the WarningRaised event. (Inherited from ConsoleLogger.) |
The FileLogger writes messages to a file in exactly the same format as the ConsoleLogger writes messages to the console window.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
