java.lang.Object
com.github.hakenadu.javalangchains.chains.base.logging.LoggingChain<I>
Type Parameters:
I - the static input type
All Implemented Interfaces:
Chain<I,​I>

public class LoggingChain<I>
extends Object
implements Chain<I,​I>
this chain is used to log an input instance
  • Constructor Details

  • Method Details

    • run

      public I run​(I input)
      Description copied from interface: Chain
      Execute this Chain
      Specified by:
      run in interface Chain<I,​I>
      Parameters:
      input - this chain's input
      Returns:
      this chain's output
    • defaultLogPrefix

      public static String defaultLogPrefix​(String title)
      Parameters:
      title - the title for the logPrefix
      Returns:
      title with delimiting lines