LoggerDescription.CreateLogger Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create an ILogger out of the data in this description. This method may throw a variety of reflection exceptions if the data is invalid. It is the resposibility of the caller to handle these exceptions if desired.
public:
Microsoft::Build::Framework::ILogger ^ CreateLogger();
public Microsoft.Build.Framework.ILogger CreateLogger ();
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public Microsoft.Build.Framework.ILogger CreateLogger ();
member this.CreateLogger : unit -> Microsoft.Build.Framework.ILogger
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.CreateLogger : unit -> Microsoft.Build.Framework.ILogger
Public Function CreateLogger () As ILogger
- Attributes
This method may throw a variety of reflection exceptions if the data is invalid. It is the responsibility of the caller to handle these exceptions if desired.
Product | Versions |
---|---|
MSBuild | 15, 16, 17 |
MSBuild (.NET Core) | 15, 16, 17 |