mirror of
https://github.com/metatube-community/jellyfin-plugin-metatube.git
synced 2026-07-17 12:01:41 +08:00
15 lines
329 B
C#
15 lines
329 B
C#
#if __EMBY__
|
|
using System.Reflection;
|
|
using MediaBrowser.Model.Logging;
|
|
|
|
namespace Jellyfin.Plugin.JavTube.Extensions;
|
|
|
|
internal static class LogManagerExtension
|
|
{
|
|
public static ILogger CreateLogger<T>(this ILogManager instance)
|
|
{
|
|
return instance.GetLogger($"{Constant.JavTube}.{typeof(T).Name}");
|
|
}
|
|
}
|
|
|
|
#endif |