// Copyright (c) 2025-2026 GeWuYou
// SPDX-License-Identifier: Apache-2.0
namespace GFramework.Core.SourceGenerators.Diagnostics;
///
/// 提供诊断描述符的静态类,用于GFramework日志生成器的编译时检查
///
internal static class LoggerDiagnostics
{
///
/// 定义诊断描述符:LogAttribute无法生成Logger的错误情况
///
public static readonly DiagnosticDescriptor LogAttributeInvalid =
new(
"GF_Logging_001",
"LogAttribute cannot generate Logger",
"LogAttribute on class '{0}' is ineffective: {1}",
"GFramework.Godot.Logging",
DiagnosticSeverity.Warning,
true);
}