Class LoggingUtil


  • public final class LoggingUtil
    extends Object
    Utility class for logging-related operations.
    • Method Detail

      • sanitizeLogArg

        public static String sanitizeLogArg​(Object obj)
        Cleans obj from line breaks and returns them as \n or \r.
        Parameters:
        obj - the object to be cleaned
        Returns:
        cleaned string