// Copyright Epic Games, Inc. All Rights Reserved. using Microsoft.Extensions.Logging; namespace EpicGames.BuildGraph { /// /// 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. /// public class BgDiagnosticDef { /// /// File containing the diagnostic /// public string File { get; } /// /// Line number containing the diagnostic /// public int Line { get; } /// /// The diagnostic event type /// public LogLevel Level { get; } /// /// The message to display /// public string Message { get; } /// /// Constructor /// public BgDiagnosticDef(string file, int line, LogLevel level, string message) { File = file; Line = line; Level = level; Message = message; } } }