Files
UnrealEngine/Engine/Source/Programs/AutomationTool/AutomationUtils/Matchers/WriteDummyPipeMatcher.cs
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

25 lines
725 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using EpicGames.Core;
using Microsoft.Extensions.Logging;
#nullable enable
namespace AutomationUtils.Matchers
{
class WriteDummyPipeMatcher : ILogEventMatcher
{
public LogEventMatch? Match(ILogCursor cursor)
{
// libWebsockets can output that warning when lws_cancel_service get called to Shutdown from FLwsWebSocketsManager
// The api write() could fail for various reasons, it doesn't mean it's a failure we need to handle
if (cursor.Contains("Cannot write to dummy pipe"))
{
return new LogEventBuilder(cursor).ToMatch(LogEventPriority.Normal, LogLevel.Information, KnownLogEvents.Systemic_SignToolTimeStampServer);
}
return null;
}
}
}