Class PluginDefaultGroovyMethods

java.lang.Object
org.codehaus.groovy.runtime.DefaultGroovyMethodsSupport
org.codehaus.groovy.vmplugin.v9.PluginDefaultGroovyMethods

public class PluginDefaultGroovyMethods extends DefaultGroovyMethodsSupport
Defines new Groovy methods which appear on normal JDK 9 classes inside the Groovy environment.
Since:
3.0.4
  • Method Details

    • info

      public static void info(System.Logger logger, String msg)
      Convenience method for logging info level messages with the platform logger.
      Parameters:
      logger - the Optional
    • info

      public static void info(System.Logger logger, String msg, Throwable thrown)
      Convenience method for logging info level messages with the platform logger.
      Parameters:
      logger - the Optional
    • info

      public static void info(System.Logger logger, String format, Object... params)
      Convenience method for logging info level messages with the platform logger.
      Parameters:
      logger - the Optional
    • trace

      public static void trace(System.Logger logger, String msg)
      Convenience method for logging trace level messages with the platform logger.
      Parameters:
      logger - the Optional
    • trace

      public static void trace(System.Logger logger, String msg, Throwable thrown)
      Convenience method for logging trace level messages with the platform logger.
      Parameters:
      logger - the Optional
    • trace

      public static void trace(System.Logger logger, String format, Object... params)
      Convenience method for logging trace level messages with the platform logger.
      Parameters:
      logger - the Optional
    • warn

      public static void warn(System.Logger logger, String msg)
      Convenience method for logging warning level messages with the platform logger.
      Parameters:
      logger - the Optional
    • warn

      public static void warn(System.Logger logger, String msg, Throwable thrown)
      Convenience method for logging warning level messages with the platform logger.
      Parameters:
      logger - the Optional
    • warn

      public static void warn(System.Logger logger, String format, Object... params)
      Convenience method for logging warning level messages with the platform logger.
      Parameters:
      logger - the Optional
    • error

      public static void error(System.Logger logger, String msg)
      Convenience method for logging error level messages with the platform logger.
      Parameters:
      logger - the Optional
    • error

      public static void error(System.Logger logger, String msg, Throwable thrown)
      Convenience method for logging error level messages with the platform logger.
      Parameters:
      logger - the Optional
    • error

      public static void error(System.Logger logger, String format, Object... params)
      Convenience method for logging error level messages with the platform logger.
      Parameters:
      logger - the Optional
    • debug

      public static void debug(System.Logger logger, String msg)
      Convenience method for logging debug level messages with the platform logger.
      Parameters:
      logger - the Optional
    • debug

      public static void debug(System.Logger logger, String msg, Throwable thrown)
      Convenience method for logging debug level messages with the platform logger.
      Parameters:
      logger - the Optional
    • debug

      public static void debug(System.Logger logger, String format, Object... params)
      Convenience method for logging debug level messages with the platform logger.
      Parameters:
      logger - the Optional