Class ConsoleLogger


  • public final class ConsoleLogger
    extends java.lang.Object
    Logs messages to standard out so that they are available in the Gradle task output.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void log​(java.lang.String message)
      Logs the message.
      static void log​(java.lang.String message, java.lang.Object... replacements)
      Logs the message using the supplied string replacements.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • log

        public static void log​(java.lang.String message)
        Logs the message.
        Parameters:
        message - message to log
      • log

        public static void log​(java.lang.String message,
                               java.lang.Object... replacements)
        Logs the message using the supplied string replacements.
        Parameters:
        message - message format to log
        replacements - string replacements for message format