src/main/java/org/deduplogger/logger/DedupLogger.java
/*
   * Logic to handle cache eviction when cache size is full or when the message exceeds the time expiration limit
   */
Logic to handle cache eviction when cache size is full or when the message exceeds the time expiration limit
Logic to handle cache eviction when cache size is full or when the message exceeds the time expiration limit
private void updateCache(String msg, Level level, Marker marker) {
    List<String> evictionSummary = lru.generateSummaryMessage(msg);
    for (String str : evictionSummary) {
      logMessage(str, level, marker);
    }
  }
private void updateCache ( String msg , Level level , Marker marker ) { List < String > evictionSummary = lru . generateSummaryMessage ( msg ) ; for ( String str : evictionSummary ) { logMessage ( str , level , marker ) ; } }
Logic to handle cache eviction when cache size is full or when the message exceeds the time expiration limit
Logic to handle cache eviction when cache size is full or when the message exceeds the time expiration limit
// Print all the evicted message