.NET Framework Class Library
FileLogger Class

Updated: November 2007

Extends the ConsoleLogger to log messages to a file rather than the console window.

Namespace:  Microsoft.Build.BuildEngine
Assembly:  Microsoft.Build.Engine (in Microsoft.Build.Engine.dll)

Visual Basic (Declaration)
Public Class FileLogger _
    Inherits ConsoleLogger
Visual Basic (Usage)
Dim instance As FileLogger
C#
public class FileLogger : ConsoleLogger
Visual C++
public ref class FileLogger : public ConsoleLogger
J#
public class FileLogger extends ConsoleLogger
JScript
public class FileLogger extends ConsoleLogger

The FileLogger writes messages to a file in exactly the same format as the ConsoleLogger writes messages to the console window.

System..::.Object
  Microsoft.Build.BuildEngine..::.ConsoleLogger
    Microsoft.Build.BuildEngine..::.FileLogger
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0
Page view tracker