DynamoVisualProgramming.DynamoServices by Autodesk

<PackageReference Include="DynamoVisualProgramming.DynamoServices" Version="3.4.0.6892" />

 LogWarningMessageEvents

public static class LogWarningMessageEvents
namespace DynamoServices { public static class LogWarningMessageEvents { internal static event LogWarningMessageEventHandler LogInfoMessage; public static event LogWarningMessageEventHandler LogWarningMessage; public static void OnLogWarningMessage(string message) { if (LogWarningMessageEvents.LogWarningMessage != null) LogWarningMessageEvents.LogWarningMessage?.Invoke(new LogWarningMessageEventArgs(message)); } public static void OnLogInfoMessage(string message) { LogWarningMessageEvents.LogInfoMessage?.Invoke(new LogWarningMessageEventArgs(message)); } } }