If you are logging an exception then the proper API is to call error(Object, Throwable), which will log the message and the exception stack trace. If you call error(Object) then the stacktrace may not be logged.
Type | Name and description |
---|---|
Class |
astVisitorClass |
String |
name |
int |
priority |