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 log output.
    Author:
    Christoph Deppisch
    • Method Detail

      • mask

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