code: protected LoggersModel toLoggersModel(Logger[] loggerAnnotations, KnowledgeNamespace knowledgeNamespace) {
          if (loggerAnnotations == null || loggerAnnotations.length == 0) {
              return null;
          }
          LoggersModel loggersModel = new V1LoggersModel(knowledgeNamespace.uri());
          for (Logger loggerAnnotation : loggerAnnotations) {
              LoggerModel loggerModel = new V1LoggerModel(knowledgeNamespace.uri());
              int interval = loggerAnnotation.interval();
              if (interval > -1) {
                  loggerModel.setInterval(interval);
              }
              String log = loggerAnnotation.log();
              if (!UNDEFINED.equals(log)) {
                  loggerModel.setLog(log);
              }
              LoggerType loggerType = loggerAnnotation.type();
              if (!LoggerType.THREADED_FILE.equals(loggerType)) {
                  loggerModel.setType(loggerType);
              }
              loggersModel.addLogger(loggerModel);
          }
          return loggersModel;
      }
docs: Converts logger annotations to loggers model.
  
  @param loggerAnnotations annotations
  @param knowledgeNamespace knowledgeNamespace
  @return model