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