public void CanCreateLoggerFromNameWithLoggerFactory()
    {
      var loggerFactory = new NLogLoggerFactory();

      var logger = loggerFactory.GetLogger("logger name");

      Assert.NotNull(logger);
      Assert.AreEqual("logger name", logger.Name);
    }
    public void CanCreateLoggerFromTypeWithLoggerFactory()
    {
      var loggerFactory = new NLogLoggerFactory();

      var logger = loggerFactory.GetLogger(GetType());

      Assert.NotNull(logger);
      Assert.AreEqual(GetType().FullName, logger.Name);
    }
    public void CanCreateLoggerFromCurrentInstanceWithLogger()
    {
      var loggerFactory = new NLogLoggerFactory();
      var testLogger = loggerFactory.GetLogger("TestLogger");

      var logger = testLogger.GetCurrentInstanceLogger();

      Assert.NotNull(logger);
      Assert.AreEqual(GetType().FullName, logger.Name);
    }