You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
* Expression classes (nodes, aggregates, graphs, etc...) are now called BgNode, BgAggregate, etc... * Evaluated and instantiated objects used by BuildGraph internals are now called BgNodeDef, BgAggregateDef, etc... #preflight 62b6374161016695a6545b08 [CL 20818158 by Ben Marsh in ue5-main branch]
46 lines
1.1 KiB
C#
46 lines
1.1 KiB
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using EpicGames.Core;
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
namespace EpicGames.BuildGraph
|
|
{
|
|
/// <summary>
|
|
/// Diagnostic message from the graph script. These messages are parsed at startup, then culled along with the rest of the graph nodes before output. Doing so
|
|
/// allows errors and warnings which are only output if a node is part of the graph being executed.
|
|
/// </summary>
|
|
public class BgDiagnosticDef
|
|
{
|
|
/// <summary>
|
|
/// File containing the diagnostic
|
|
/// </summary>
|
|
public string File { get; }
|
|
|
|
/// <summary>
|
|
/// Line number containing the diagnostic
|
|
/// </summary>
|
|
public int Line { get; }
|
|
|
|
/// <summary>
|
|
/// The diagnostic event type
|
|
/// </summary>
|
|
public LogLevel Level { get; }
|
|
|
|
/// <summary>
|
|
/// The message to display
|
|
/// </summary>
|
|
public string Message { get; }
|
|
|
|
/// <summary>
|
|
/// Constructor
|
|
/// </summary>
|
|
public BgDiagnosticDef(string file, int line, LogLevel level, string message)
|
|
{
|
|
File = file;
|
|
Line = line;
|
|
Level = level;
|
|
Message = message;
|
|
}
|
|
}
|
|
}
|