mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-02-15 11:22:56 +01:00
17 lines
376 B
C#
17 lines
376 B
C#
using System;
|
|
|
|
namespace NzbDrone.Common.Instrumentation
|
|
{
|
|
public static class NzbDroneLogger
|
|
{
|
|
public static Logger GetLogger(Type type)
|
|
{
|
|
return LogManager.GetLogger(type.Name.Replace("NzbDrone.", ""));
|
|
}
|
|
|
|
public static Logger GetLogger(object obj)
|
|
{
|
|
return GetLogger(obj.GetType());
|
|
}
|
|
}
|
|
}
|