Package org.codehaus.groovy.vmplugin.v9
Class PluginDefaultGroovyMethods
java.lang.Object
org.codehaus.groovy.runtime.DefaultGroovyMethodsSupport
org.codehaus.groovy.vmplugin.v9.PluginDefaultGroovyMethods
Defines new Groovy methods which appear on normal JDK 9
classes inside the Groovy environment.
- Since:
- 3.0.4
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
debug
(System.Logger logger, String msg) Convenience method for logging debug level messages with the platform logger.static void
debug
(System.Logger logger, String format, Object... params) Convenience method for logging debug level messages with the platform logger.static void
debug
(System.Logger logger, String msg, Throwable thrown) Convenience method for logging debug level messages with the platform logger.static void
error
(System.Logger logger, String msg) Convenience method for logging error level messages with the platform logger.static void
error
(System.Logger logger, String format, Object... params) Convenience method for logging error level messages with the platform logger.static void
error
(System.Logger logger, String msg, Throwable thrown) Convenience method for logging error level messages with the platform logger.static void
info
(System.Logger logger, String msg) Convenience method for logging info level messages with the platform logger.static void
info
(System.Logger logger, String format, Object... params) Convenience method for logging info level messages with the platform logger.static void
info
(System.Logger logger, String msg, Throwable thrown) Convenience method for logging info level messages with the platform logger.static void
trace
(System.Logger logger, String msg) Convenience method for logging trace level messages with the platform logger.static void
trace
(System.Logger logger, String format, Object... params) Convenience method for logging trace level messages with the platform logger.static void
trace
(System.Logger logger, String msg, Throwable thrown) Convenience method for logging trace level messages with the platform logger.static void
warn
(System.Logger logger, String msg) Convenience method for logging warning level messages with the platform logger.static void
warn
(System.Logger logger, String format, Object... params) Convenience method for logging warning level messages with the platform logger.static void
warn
(System.Logger logger, String msg, Throwable thrown) Convenience method for logging warning level messages with the platform logger.Methods inherited from class org.codehaus.groovy.runtime.DefaultGroovyMethodsSupport
cloneSimilarCollection, cloneSimilarMap, closeQuietly, closeWithWarning, createSimilarArray, createSimilarCollection, createSimilarCollection, createSimilarCollection, createSimilarList, createSimilarMap, createSimilarOrDefaultCollection, createSimilarQueue, createSimilarSet, normaliseIndex, sameType, subListBorders, subListBorders, subListRange, writeUTF16BomIfRequired, writeUTF16BomIfRequired, writeUTF16BomIfRequired, writeUTF16BomIfRequired
-
Method Details
-
info
Convenience method for logging info level messages with the platform logger.- Parameters:
logger
- the Optional
-
info
Convenience method for logging info level messages with the platform logger.- Parameters:
logger
- the Optional
-
info
Convenience method for logging info level messages with the platform logger.- Parameters:
logger
- the Optional
-
trace
Convenience method for logging trace level messages with the platform logger.- Parameters:
logger
- the Optional
-
trace
Convenience method for logging trace level messages with the platform logger.- Parameters:
logger
- the Optional
-
trace
Convenience method for logging trace level messages with the platform logger.- Parameters:
logger
- the Optional
-
warn
Convenience method for logging warning level messages with the platform logger.- Parameters:
logger
- the Optional
-
warn
Convenience method for logging warning level messages with the platform logger.- Parameters:
logger
- the Optional
-
warn
Convenience method for logging warning level messages with the platform logger.- Parameters:
logger
- the Optional
-
error
Convenience method for logging error level messages with the platform logger.- Parameters:
logger
- the Optional
-
error
Convenience method for logging error level messages with the platform logger.- Parameters:
logger
- the Optional
-
error
Convenience method for logging error level messages with the platform logger.- Parameters:
logger
- the Optional
-
debug
Convenience method for logging debug level messages with the platform logger.- Parameters:
logger
- the Optional
-
debug
Convenience method for logging debug level messages with the platform logger.- Parameters:
logger
- the Optional
-
debug
Convenience method for logging debug level messages with the platform logger.- Parameters:
logger
- the Optional
-