Interface LogModifier

All Known Subinterfaces:
LogMessageModifier
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface LogModifier
Modifier masks output that gets printed to an output stream. Usually used to mask sensitive data like passwords and secrets when printed to the logger output.
Author:
Christoph Deppisch
  • Method Summary

    Modifier and Type
    Method
    Description
    mask(String statement)
    Mask given logger statement and apply custom modifications before the logger is printed to the output stream.
  • Method Details

    • mask

      String mask(String statement)
      Mask given logger statement and apply custom modifications before the logger is printed to the output stream.
      Parameters:
      statement -
      Returns: