LoggerDescription.CreateLogger Method
Definition
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
Returns
- Attributes
Remarks
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.