Package com.github.javaparser.utils
Class Log
- java.lang.Object
-
- com.github.javaparser.utils.Log
-
public class Log extends Object
To avoid dependencies on logging frameworks, we have invited yet another logging framework :-)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Log.Adapter
static class
Log.DefaultAdapter
-
Constructor Summary
Constructors Constructor Description Log()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
error(String format, Object... args)
For drawing attention to an error that you don't have an exception for.static void
error(Throwable throwable)
For drawing attention to an error.static void
error(Throwable throwable, String format, Object... args)
For drawing attention to an error that you don't have an exception for.static void
info(String format, Object... args)
For logging things that are nice to see scrolling by.static void
setAdapter(Log.Adapter adapter)
static void
trace(String format, Object... args)
For logging information that may help solving a problem.
-
-
-
Method Detail
-
setAdapter
public static void setAdapter(Log.Adapter adapter)
-
trace
public static void trace(String format, Object... args)
For logging information that may help solving a problem.
-
info
public static void info(String format, Object... args)
For logging things that are nice to see scrolling by.
-
error
public static void error(Throwable throwable)
For drawing attention to an error.
-
error
public static void error(Throwable throwable, String format, Object... args)
For drawing attention to an error that you don't have an exception for.
-
-