UnityLoggerProvider.cs•1.11 kB
/*
┌──────────────────────────────────────────────────────────────────┐
│ Author: Ivan Murzak (https://github.com/IvanMurzak) │
│ Repository: GitHub (https://github.com/IvanMurzak/Unity-MCP) │
│ Copyright (c) 2025 Ivan Murzak │
│ Licensed under the Apache License, Version 2.0. │
│ See the LICENSE file in the project root for more information. │
└──────────────────────────────────────────────────────────────────┘
*/
#nullable enable
using Microsoft.Extensions.Logging;
namespace com.IvanMurzak.Unity.MCP.Utils
{
public class UnityLoggerProvider : ILoggerProvider
{
public void Dispose() { /* No resources to dispose of */ }
ILogger ILoggerProvider.CreateLogger(string categoryName) => new UnityLogger(categoryName);
}
}