Files
UnrealEngineUWP/Engine/Source/Programs/Shared/EpicGames.Core/KnownLogEvents.cs
Jerome Delattre 4555fe9325 Gauntlet - fix inconsistent failure between desktop platforms
+ Add support for AddressSanitizer callstack capture in Unreal log parser

#jira UE-167962
#preflight 63cb119c976daa618cef7a35
#rb Brandon.Schaefer,Johnstone.Baumgartner
#rnx

[CL 23832468 by Jerome Delattre in ue5-main branch]
2023-01-24 12:06:09 -05:00

316 lines
8.9 KiB
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using Microsoft.Extensions.Logging;
namespace EpicGames.Core
{
#pragma warning disable CA1707 // Identifiers should not contain underscores
/// <summary>
/// Well known log events
/// </summary>
public static class KnownLogEvents
{
/// <summary>
/// Unset
/// </summary>
public static EventId None { get; } = new EventId(0);
/// <summary>
/// Generic error
/// </summary>
public static EventId Generic { get; } = new EventId(1);
/// <summary>
/// Generic exception
/// </summary>
public static EventId Exception { get; } = new EventId(2);
/// <summary>
/// Exit code error
/// </summary>
public static EventId ExitCode { get; } = new EventId(3);
/// <summary>
/// Compiler error
/// </summary>
public static EventId Compiler { get; } = new EventId(100);
/// <summary>
/// UHT compiler message
/// </summary>
public static EventId UHT { get; } = new EventId(110);
/// <summary>
/// Linker error
/// </summary>
public static EventId Linker { get; } = new EventId(200);
/// <summary>
/// Linker: Undefined symbol
/// </summary>
public static EventId Linker_UndefinedSymbol { get; } = new EventId(201);
/// <summary>
/// Linker: Multiply defined symbol
/// </summary>
public static EventId Linker_DuplicateSymbol { get; } = new EventId(202);
/// <summary>
/// Engine error
/// </summary>
public static EventId Engine { get; } = new EventId(300);
/// <summary>
/// Engine log channel
/// </summary>
public static EventId Engine_LogChannel { get; } = new EventId(301);
/// <summary>
/// Engine: Crash dump
/// </summary>
public static EventId Engine_Crash { get; } = new EventId(302);
/// <summary>
/// Engine: UE_ASSET_LOG output
/// </summary>
public static EventId Engine_AssetLog { get; } = new EventId(303);
/// <summary>
/// Engine: Localization commandlet output
/// </summary>
public static EventId Engine_Localization { get; } = new EventId(304);
/// <summary>
/// Engine: appErrorf called
/// </summary>
public static EventId Engine_AppError { get; } = new EventId(305);
/// <summary>
/// Engine: Assertion failed
/// </summary>
public static EventId Engine_AssertionFailed { get; } = new EventId(306);
/// <summary>
/// Engine: Shader compiler output
/// </summary>
public static EventId Engine_ShaderCompiler { get; } = new EventId(310);
/// <summary>
/// UAT error
/// </summary>
public static EventId AutomationTool { get; } = new EventId(400);
/// <summary>
/// UAT: Crash dump
/// </summary>
public static EventId AutomationTool_Crash { get; } = new EventId(401);
/// <summary>
/// UAT: Exit code indicating a crash
/// </summary>
public static EventId AutomationTool_CrashExitCode { get; } = new EventId(402);
/// <summary>
/// UAT: Source file with line number
/// </summary>
public static EventId AutomationTool_SourceFileLine { get; } = new EventId(403);
/// <summary>
/// UAT: Missing copyright notice
/// </summary>
public static EventId AutomationTool_MissingCopyright { get; } = new EventId(404);
/// <summary>
/// UAT: Mismatched Perforce case
/// </summary>
public static EventId AutomationTool_PerforceCase { get; } = new EventId(405);
/// <summary>
/// UAT: Unacceptable words
/// </summary>
public static EventId AutomationTool_UnacceptableWords { get; } = new EventId(406);
/// <summary>
/// MSBuild: Generic error
/// </summary>
public static EventId MSBuild { get; } = new EventId(500);
/// <summary>
/// Microsoft: Generic MSTest error
/// </summary>
public static EventId MSTest { get; } = new EventId(540);
/// <summary>
/// Microsoft: Generic Visual Studio error
/// </summary>
public static EventId Microsoft { get; } = new EventId(550);
/// <summary>
/// Error message from Gauntlet
/// </summary>
public static EventId Gauntlet { get; } = new EventId(600);
/// <summary>
/// Error message from Gauntlet test events
/// </summary>
public static EventId Gauntlet_TestEvent { get; } = new EventId(601);
/// <summary>
/// Error message from Gauntlet device events
/// </summary>
public static EventId Gauntlet_DeviceEvent { get; } = new EventId(602);
/// <summary>
/// Error message from Gauntlet Unreal Engine test events
/// </summary>
public static EventId Gauntlet_UnrealEngineTestEvent { get; } = new EventId(603);
/// <summary>
/// Error message from Gauntlet build drop events
/// </summary>
public static EventId Gauntlet_BuildDropEvent { get; } = new EventId(604);
/// <summary>
/// Fatal Error message from Gauntlet events
/// </summary>
public static EventId Gauntlet_FatalEvent { get; } = new EventId(605);
/// <summary>
/// A systemic event, relating to the health of the farm
/// </summary>
public static EventId Systemic { get; } = new EventId(700);
/// <summary>
/// A systemic event relating to Perforce
/// </summary>
public static EventId Systemic_Perforce { get; } = new EventId(701);
/// <summary>
/// A systemic event from XGE
/// </summary>
public static EventId Systemic_Xge { get; } = new EventId(710);
/// <summary>
/// Builds will run in standalone mode
/// </summary>
public static EventId Systemic_Xge_Standalone { get; } = new EventId(711);
/// <summary>
/// BuildService.exe is not running
/// </summary>
public static EventId Systemic_Xge_ServiceNotRunning { get; } = new EventId(712);
/// <summary>
/// General build failed error
/// </summary>
public static EventId Systemic_Xge_BuildFailed { get; } = new EventId(713);
/// <summary>
/// Cache size reached
/// </summary>
public static EventId Systemic_Xge_CacheLimit { get; } = new EventId(714);
/// <summary>
/// Current logging level may impact performance
/// </summary>
public static EventId Systemic_Xge_DetailedLogging { get; } = new EventId(715);
/// <summary>
/// Metadata about an XGE task (local or remote execution, start/end time etc)
/// </summary>
public static EventId Systemic_Xge_TaskMetadata { get; } = new EventId(716);
/// <summary>
/// DDC is slow
/// </summary>
public static EventId Systemic_SlowDDC { get; } = new EventId(720);
/// <summary>
/// Internal Horde error
/// </summary>
public static EventId Systemic_Horde { get; } = new EventId(730);
/// <summary>
/// Artifact upload failed
/// </summary>
public static EventId Systemic_Horde_ArtifactUpload { get; } = new EventId(731);
/// <summary>
/// Harmless pdbutil error
/// </summary>
public static EventId Systemic_PdbUtil { get; } = new EventId(740);
/// <summary>
/// A systemic event from MSBuild
/// </summary>
public static EventId Systemic_MSBuild { get; } = new EventId(750);
/// <summary>
/// A systemic event from XCode
/// </summary>
public static EventId Systemic_XCode { get; } = new EventId(755);
/// <summary>
/// Robomerge gate is locked
/// </summary>
public static EventId Systemic_RoboMergeGateLocked { get; } = new EventId(760);
/// <summary>
/// XGEControlWorker is missing
/// </summary>
public static EventId Systemic_MissingXgeControlWorker { get; } = new EventId(761);
/// <summary>
/// Log parser is taking a significant amount of time; may be bottleneck.
/// </summary>
public static EventId Systemic_LogParserBottleneck { get; } = new EventId(762);
/// <summary>
/// Exception parsing a log event.
/// </summary>
public static EventId Systemic_LogEventMatcher { get; } = new EventId(763);
/// <summary>
/// Host is down during I/O operation, usually meaning a share isn't accessible.
/// </summary>
public static EventId Systemic_HostDownIOException { get; } = new EventId(764);
/// <summary>
/// Microsoft SignTool cannot reach specified timestamp server
///
/// Signing performs a looping retry using different servers and throws when all retries attempts have been exhausted.
/// </summary>
public static EventId Systemic_SignToolTimeStampServer { get; } = new EventId(765);
/// <summary>
/// Microsoft SignTool generic error
///
/// Usually preceded by another type of error.
/// </summary>
public static EventId Systemic_SignTool { get; } = new EventId(766);
/// <summary>
/// Missing file list error
///
/// Usually due to a volume that is not mounted or some of other IO error
/// </summary>
public static EventId Systemic_MissingFileList { get; } = new EventId(767);
/// <summary>
/// Maximum code for systemic events. Add new events in the 700-799 range.
/// </summary>
public static EventId Systemic_Max { get; } = new EventId(799);
/// <summary>
/// Horde error codes
/// </summary>
public static EventId Horde { get; } = new EventId(1000);
/// <summary>
/// Invalid preflight change
/// </summary>
public static EventId Horde_InvalidPreflight { get; } = new EventId(1001);
}
#pragma warning restore CA1707 // Identifiers should not contain underscores
}