src/main/java/org/deduplogger/logger/DedupLogger.java
/*
   * Flush all the messages when the program exits or being killed.
   */
Flush all the messages when the program exits or being killed.
Flush all the messages when the program exits or being killed .
private void flushMessageOnExit() {
    System.out.println("Flush all the messages");
    List<String> evictionMessages = lru.flushAllMessages();
    for (String s : evictionMessages) {
      System.out.println(s);
    }
  }
private void flushMessageOnExit ( ) { System . out . println ( "Flush all the messages" ) ; List < String > evictionMessages = lru . flushAllMessages ( ) ; for ( String s : evictionMessages ) { System . out . println ( s ) ; } }
Flush all the messages when the program exits or being killed.
Flush all the messages when the program exits or being killed .
//TODO : Replace the print with log