ILogWithContext error?

in the Source Code NLogLogger.cs

using System;
using NLog;

namespace ServiceStack.Logging.NLogger
{
    /// <summary>
    /// Wrapper over the NLog 2.0 beta and above logger 
    /// </summary>
    public class NLogLogger : ILogWithContext
    {
        private readonly NLog.Logger log;

        public NLogLogger(string typeName)
        {
            log = NLog.LogManager.GetLogger(typeName, typeof(NLogLogger));
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="NLogLogger"/> class.
        /// </summary>
        /// <param name="type">The type.</param>
        public NLogLogger(Type type)
        {
            log = NLog.LogManager.GetLogger(UseFullTypeNames ? type.FullName : type.Name, typeof(NLogLogger));
        }                     
....                                                                                                                                                                    

it will get error.
you can see the summary of the GetLogger, the secode parameter loggerType must inherit from NLog.Logger, but the class NLogLogger not inherit , so it will get error, please check it .If I removed the second paramter , it works fine.

        //
        // 摘要:
        //     Gets the specified named custom logger. Use loggerType to pass the type of the
        //     needed Logger.
        //
        // 参数:
        //   name:
        //     Name of the logger.
        //
        //   loggerType:
        //     The logger class. The class must inherit from NLog.Logger.
        //
        // 返回结果:
        //     The logger of type loggerType. Multiple calls to GetLogger with the same argument
        //     aren't guaranteed to return the same logger reference.
        //
        // 备注:
        //     The generic way for this method is NLog.LogFactory`1.GetLogger(System.String)
        [CLSCompliant(false)]
        public static Logger GetLogger(string name, Type loggerType);

Can you please provide a complete code usage example that fails? As these NLogTests still pass.

I was used the logger like this. In the version 4.5.14 , It works fine.

public class ServiceStackControllerBase : ServiceStackController<CustomUserSession>
    {
        public static readonly NLog.Logger logger = NLog.LogManager.GetCurrentClassLogger();
        public ActionResult Index()
       {
             logger.Info("message");
       }

This doesn’t use any ServiceStack code:

public static readonly NLog.Logger logger = NLog.LogManager.GetCurrentClassLogger();

You’re just using NLog’s concrete logging providers.

Here’s an example of using ServiceStack’s Logging API.

This is also not a complete example and using NLog’s concrete classes above works without issues. If you are having an issue with ServiceStack’s code, please include a complete example of the code which uses ServiceStack’s libraries that fails along with the full StackTrace.