Class Log
java.lang.Object
com.github.javaparser.utils.Log
To avoid dependencies on logging frameworks, we have invented yet another logging framework :-)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic classThis adapter logs nothing.static classThis adapter logs to standard out and standard error. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidFor drawing attention to an error that you don't have an exception for.static voidFor drawing attention to an error.static voidFor drawing attention to an error that you don't have an exception for.static voidFor logging things that are nice to see scrolling by.makeFormattingSupplier(String format, Supplier<Object>[] args) static voidsetAdapter(Log.Adapter adapter) Change how logging is handled.static voidFor logging information that may help solving a problem.
-
Field Details
-
CURRENT_ADAPTER
-
-
Constructor Details
-
Log
public Log()
-
-
Method Details
-
setAdapter
Change how logging is handled. You can set your own implementation that forwards to your logging library. -
trace
For logging information that may help solving a problem. -
makeFormattingSupplier
-
info
For logging things that are nice to see scrolling by. -
error
For drawing attention to an error. -
error
For drawing attention to an error that you don't have an exception for. -
error
For drawing attention to an error that you don't have an exception for.
-