You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
215 lines
5.7 KiB
C#
215 lines
5.7 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>
|
|
/// 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>
|
|
/// 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 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 engine tests
|
|
/// </summary>
|
|
public static EventId Gauntlet_UnitTest { get; } = new EventId(601);
|
|
|
|
/// <summary>
|
|
/// Error message from Gauntlet screenshot tests
|
|
/// </summary>
|
|
public static EventId Gauntlet_ScreenshotTest { get; } = new EventId(602);
|
|
|
|
/// <summary>
|
|
/// A systemic event, relating to the health of the farm
|
|
/// </summary>
|
|
public static EventId Systemic { get; } = new EventId(700);
|
|
|
|
/// <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>
|
|
/// 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>
|
|
/// 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>
|
|
/// 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
|
|
}
|