diff --git a/src/Log4NetExtension.cs b/src/Log4NetExtension.cs index abd4095..414ae60 100644 --- a/src/Log4NetExtension.cs +++ b/src/Log4NetExtension.cs @@ -18,8 +18,6 @@ namespace Unity.log4net public ResolveDelegate GetResolver(ref BuilderContext context) { - Type declaringType = context.DeclaringType; - return (ref BuilderContext c) => LogManager.GetLogger(c.DeclaringType); } }