Package com.tistory.devyongsik.crescent.logger

Examples of com.tistory.devyongsik.crescent.logger.LogInfo


      long endTime = System.currentTimeMillis();
     
      //전체 검색 건수
      totalHitsCount = topDocs.totalHits;
     
      LogInfo logInfo = new LogInfo();
      logInfo.setCollectionName(csrw.getCollectionName());
      logInfo.setElaspedTimeMil(endTime - startTime);
      logInfo.setKeyword(csrw.getKeyword());
      logInfo.setPageNum(csrw.getPageNum());
      logInfo.setPcid(csrw.getPcId());
      logInfo.setQuery(query);
      logInfo.setSort(csrw.getSort());
      logInfo.setTotalCount(totalHitsCount);
      logInfo.setUserId(csrw.getUserId());
      logInfo.setUserIp(csrw.getUserIp());
      logInfo.setFilter(csrw.getFilter());
     
      CrescentLogger.logging(logInfo);
     
     
      logger.debug("Total Hits Count : {} ", totalHitsCount);
View Full Code Here

TOP

Related Classes of com.tistory.devyongsik.crescent.logger.LogInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.