Class LogHelper


  • public final class LogHelper
    extends Object
    A small utility to simpler log strings.
    • Method Detail

      • logLicense

        public static String logLicense​(org.apache.maven.model.License license)
        Log a license.
        Parameters:
        license - the license to log.
        Returns:
        the string representation of the license, suitable for logging.
      • logNullableString

        public static String logNullableString​(String toLog)
        Log a nullable string.
        Parameters:
        toLog - the string to log.
        Returns:
        the string representation of the string, suitable for logging.