File: Model\LoggingType.cs
Web Access
Project: src\src\Generators\Microsoft.Gen.Logging\Microsoft.Gen.Logging.csproj (Microsoft.Gen.Logging)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using System.Collections.Generic;
using System.Diagnostics;
 
namespace Microsoft.Gen.Logging.Model;
 
/// <summary>
/// A logger class/struct/record holding a bunch of logger methods.
/// </summary>
[DebuggerDisplay("{Name}")]
internal sealed class LoggingType
{
    public readonly List<LoggingMethod> Methods = [];
    public readonly List<string> AllMembers = [];
    public string Keyword = string.Empty;
    public string Namespace = string.Empty;
    public string Name = string.Empty;
    public LoggingType? Parent;
}