Пример #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);
 }