using GFramework.Core.Abstractions.logging; namespace GFramework.Godot.logging; /// /// Godot日志工厂提供程序,用于创建Godot日志记录器实例 /// public sealed class GodotLoggerFactoryProvider : ILoggerFactoryProvider { /// /// 创建指定名称和最小日志级别的日志记录器 /// /// 日志记录器的名称 /// 日志记录器的最小日志级别 /// 返回配置好的Godot日志记录器实例 public ILogger CreateLogger(string name, LogLevel minLevel) => new GodotLoggerFactory().GetLogger(name, minLevel); }