XmlFileLogger Class

MSBuild Extension Pack

XmlFileLogger Class MSBuild Extension Pack Help 4.0.12.0

This logger can be used to log in xml format

Syntax:

/l:XmlFileLogger,MSBuild.ExtensionPack.Loggers.dll;logfile=YOURLOGFILE;verbosity=YOURVERBOSITY;encoding=YOURENCODING

Parameters:

Logfile: A optional parameter that specifies the file in which to store the log information. Defaults to msbuild.xml

Verbosity: An optional parameter that overrides the global verbosity setting for this file logger only. This enables you to log to several loggers, each with a different verbosity. The verbosity setting is case sensitive.

Encoding: An optional parameter that specifies the encoding for the file, for example, UTF-8.

Inheritance Hierarchy

SystemObject  Microsoft.Build.UtilitiesLogger
    MSBuild.ExtensionPack.LoggersXmlFileLogger

Namespace: MSBuild.ExtensionPack.Loggers
Assembly: MSBuild.ExtensionPack.Loggers (in MSBuild.ExtensionPack.Loggers.dll) Version: 4.0.0.0

The XmlFileLogger type exposes the following members.

Constructors

  NameDescription
Public methodXmlFileLogger
Top
Methods

  NameDescription
Public methodInitialize
Initialize Override
(Overrides LoggerInitialize(IEventSource).)
Public methodShutdown
Shutdown() is guaranteed to be called by MSBuild at the end of the build, after all events have been raised.
(Overrides LoggerShutdown.)
Top
See Also

Reference