public static Logger getLogger(String name) {
        if (name == null || name.isEmpty()) {
            return LoggerSpaceManager.getLoggerBySpace("", BOLT_LOG_SPACE);
        }
        return LoggerSpaceManager.getLoggerBySpace(name, BOLT_LOG_SPACE);
    }
Customized logger factory

This can use middleware-log in sofa-common-tools to detect specific log implementation and initialize with the given log template.

@author tsui
@version $Id: BoltLoggerFactory.java, v 0.1 2017-09-05 16:06 tsui Exp $
src/main/java/com/alipay/remoting/log/BoltLoggerFactory.java