Class PatternedPathAdjuster

java.lang.Object
com.van.logging.log4j2.PatternedPathAdjuster
All Implemented Interfaces:
com.van.logging.IStorageDestinationAdjuster

public class PatternedPathAdjuster extends Object implements com.van.logging.IStorageDestinationAdjuster
A path adjuster that assumes the original path is a template to expand using a limited-scoped implementation of PatternLayout. Currently, only the date (i.e. %d{...}) template is supported.
  • Constructor Details

    • PatternedPathAdjuster

      public PatternedPathAdjuster()
  • Method Details

    • adjustPath

      public String adjustPath(String path)
      Specified by:
      adjustPath in interface com.van.logging.IStorageDestinationAdjuster