This documentation is archived and is not being maintained.
FileLogger Class
Visual Studio 2010
A specialization of the ConsoleLogger that logs to a file instead of the console.
Assembly: Microsoft.Build (in Microsoft.Build.dll)
The FileLogger type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Parameters | Gets or sets a semicolon-delimited list of parameter key-value pairs. (Inherited from ConsoleLogger.) |
![]() | ShowSummary | Gets or sets a switch that determines whether to suppress the display of errors and the warnings summary. (Inherited from ConsoleLogger.) |
![]() | SkipProjectStartedText | Gets or sets a switch that determines whether to suppress the display of project headers. (Inherited from ConsoleLogger.) |
![]() | Verbosity | Gets or sets the level of detail to show in the event log. (Inherited from ConsoleLogger.) |
![]() | WriteHandler | Provides access to the write handler delegate so that it can be redirected if necessary (e.g. to a file). (Inherited from ConsoleLogger.) |
| Name | Description | |
|---|---|---|
![]() | ApplyParameter | Applies a parameter to the logger. (Inherited from ConsoleLogger.) |
![]() | BuildFinishedHandler | Called when the build is finished. (Inherited from ConsoleLogger.) |
![]() | BuildStartedHandler | Called when the build is started. (Inherited from ConsoleLogger.) |
![]() | CustomEventHandler | Called to log a custom event. (Inherited from ConsoleLogger.) |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | ErrorHandler | Called to log an error 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) | Signs up the console file logger for the given build events. (Overrides ConsoleLogger::Initialize(IEventSource).) |
![]() | Initialize(IEventSource, Int32) | Initializes a file logger in a multiprocessor environment. (Overrides ConsoleLogger::Initialize(IEventSource, Int32).) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | MessageHandler | Called to log a message event. (Inherited from ConsoleLogger.) |
![]() | ProjectFinishedHandler | Called to log a project finished event. (Inherited from ConsoleLogger.) |
![]() | ProjectStartedHandler | Called to log a project started event. (Inherited from ConsoleLogger.) |
![]() | Shutdown | Called when the build is finished. (Overrides ConsoleLogger::Shutdown().) |
![]() | TargetFinishedHandler | Called to log a target finished event. (Inherited from ConsoleLogger.) |
![]() | TargetStartedHandler | Called to log a target started event. (Inherited from ConsoleLogger.) |
![]() | TaskFinishedHandler | Called to log a task finished event. (Inherited from ConsoleLogger.) |
![]() | TaskStartedHandler | Called to log a task started event. (Inherited from ConsoleLogger.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | WarningHandler | Called to log a warning event. (Inherited from ConsoleLogger.) |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, 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:
