Interface containing methods for logging to the Grails console
| Type | Name and description |
|---|---|
void |
addStatus(java.lang.String msg)Adds a new message that won't be overwritten by {#updateStatus(String)} |
void |
error(java.lang.String msg)Prints an error message |
void |
error(java.lang.String msg, java.lang.Throwable error)Use to log an error |
void |
error(java.lang.String label, java.lang.String message)Log an error with a specific error label |
void |
error(java.lang.Throwable error)Use to log an error |
void |
indicateProgress()Indicates progress with the default progress indicator |
void |
indicateProgress(int number, int total)Indicate progress for a number and total |
void |
indicateProgress(int number)Indicates progress by number |
void |
indicateProgressPercentage(long number, long total)Indicates progress as a percentage for the given number and total |
void |
info(java.lang.String msg)Synonym for #log |
void |
log(java.lang.String msg)Logs a message below the current status message |
void |
updateStatus(java.lang.String msg)Updates the current state message |
void |
verbose(java.lang.String msg)Outputs a verbose message |
void |
warn(java.lang.String msg)Prints a warning message |
void |
warning(java.lang.String msg)Prints a warning message |
Adds a new message that won't be overwritten by {#updateStatus(String)}
msg - The messagePrints an error message
msg - The error messageUse to log an error
msg - The messageerror - The errorLog an error with a specific error label
label - The labelmessage - The messageUse to log an error
error - The errorIndicates progress with the default progress indicator
Indicate progress for a number and total
number - The current numbertotal - The total numberIndicates progress by number
number - The numberIndicates progress as a percentage for the given number and total
number - The numbertotal - The totalSynonym for #log
msg - The message to logLogs a message below the current status message
msg - The message to logUpdates the current state message
msg - The messageOutputs a verbose message
msg - The messagePrints a warning message
msg - The warning messagePrints a warning message
msg - The warning message