Code example for Logger

Methods: warning

0
 
        Module module = modulesByName.get(moduleName);
        if (module == null) {
            String makeFile = indexes.getMakeFile(moduleName);
            if (makeFile == null) {
                logger.warning("Unable to find make file for module: " + moduleName);
            } else { 
                module = new StandardModule(moduleName, makeFile);
                module.build();
                modulesByName.put(moduleName, module);
            } 
        } 
        return module;
    } 
 
    public void buildAndCacheAggregatedModule(String moduleName) throws IOException {
        if (indexes.isPartOfAggregatedModule(moduleName)) {
            Set<String> moduleNames = indexes.getAggregatedModules(moduleName);
            Set<Module> modules = Sets.newHashSet();
            for (String name : moduleNames) {
                Module m = modulesByName.get(name);