Class Logger
java.lang.Object
org.robolectric.util.Logger
Logger for Robolectric. For now, it simply prints messages to stdout.
Logging can be enabled by setting the property: robolectric.logging.enabled = true.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidLog a debug message.static voidLog an error message.static voidLog an error message.static voidLog an info message.static voidLog a lifecycle message.static booleanstatic voidstatic voidstatic voidLog a warning message.
-
Constructor Details
-
Logger
public Logger()
-
-
Method Details
-
strict
-
strict
-
info
-
warn
-
error
-
error
-
debug
-
lifecycle
-
loggingEnabled
public static boolean loggingEnabled()
-