예제 #1
0
 public static ServiceName loggerHandlerName(final String loggerName, final String handlerName) {
   return CommonAttributes.ROOT_LOGGER_NAME.equals(loggerName)
       ? ROOT_LOGGER_HANDLER.append(CommonAttributes.ROOT_LOGGER_NAME, handlerName)
       : LOGGER_HANDLER.append(loggerName, handlerName);
 }
예제 #2
0
 public static ServiceName loggerName(final String name) {
   return CommonAttributes.ROOT_LOGGER_NAME.equals(name) ? ROOT_LOGGER : LOGGER.append(name);
 }