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 interface
static class
This adapter logs nothing.static class
This adapter logs to standard out and standard error. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
For drawing attention to an error that you don't have an exception for.static void
For drawing attention to an error.static void
For drawing attention to an error that you don't have an exception for.static void
For logging things that are nice to see scrolling by.static void
setAdapter(Log.Adapter adapter)
Change how logging is handled.static void
For 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.
-