@Test
    public void getLogger() throws Exception {

        Assert.assertNull(RpcLoggerFactory.getLogger(null, "appname1"));
        Logger logger1 = RpcLoggerFactory.getLogger("xxx", "appname1");
        Assert.assertNotNull(logger1);
        Logger logger2 = RpcLoggerFactory.getLogger("xxx", "appname1");
        Assert.assertNotNull(logger1);
        Assert.assertEquals(logger1, logger2);
        Logger logger3 = RpcLoggerFactory.getLogger("xxx", "appname2");
        Assert.assertFalse(logger1.equals(logger3));
    }
@author <a href="mailto:zhanggeng.zg@antfin.com">GengZhang</a>
log-common-tools/src/test/java/com/alipay/sofa/rpc/log/factory/RpcLoggerFactoryTest.java