Package com.github.javaparser.utils
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. -
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.static voidsetAdapter(Log.Adapter adapter)Change how logging is handled.static voidFor logging information that may help solving a problem.
-
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. -
info
For logging things that are nice to see scrolling by. -
error
For drawing attention to an error. -
error
@SafeVarargs public static void error(Throwable throwable, String format, Supplier<Object>... args)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.
-