What are MSBuild Logger :
MSBuild has logging features that at first glance seem rather unspectacular, although, through the flexible configuration of a wide range of services cover but. With the aid of MSBuild loggers can be any output of a build process to an external component (console, file) forward. Technically, a logger is only one instance of a direct or indirect implementation of the interface ILogger from Microsoft.Build.Framework namespace.
BuiltIn Logger :
Microsoft has two BuiltIn MSBuild loggers placed in the luggage, which everyone can use in its build process:
Console Logger
- The Console Logger is responsible for the output from the command line
- FileLogger
- The FileLogger is to write the output into a file of responsible
- The two existing logging solutions in many cases have the flexibility to select the information to the appropriate agencies to publish.
Configuring loggers :
Each process can build on exactly one console logger, but for up to ten FileLogger's offer. This allows you to log all common in MSBuild scenarios show even without this, you develop something, or third party would have to use software. Regardless of the type of logger configuration is beyond the logger parameter realized. Since the FileLogger of the class Console Logger is derived, has a superset of this logger settings.
Bookmarks