IDiagnosticsSink.cs (846B)
1 // ----------------------------------------------------------------------------- 2 // <copyright file="IDiagnosticsSink.cs" company="Microsoft Corporation"> 3 // Copyright (c) Microsoft Corporation. Licensed under the MIT License. 4 // </copyright> 5 // ----------------------------------------------------------------------------- 6 7 namespace Microsoft.Management.Configuration.Processor.DSCv3.Helpers 8 { 9 /// <summary> 10 /// Defines the interface for a diagnostics sink. 11 /// </summary> 12 internal interface IDiagnosticsSink 13 { 14 /// <summary> 15 /// Sends a diagnostic message. 16 /// </summary> 17 /// <param name="level">The level of the message.</param> 18 /// <param name="message">The message.</param> 19 public void OnDiagnostics(DiagnosticLevel level, string message); 20 } 21 }