public class RNLog
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ADVICE |
static int |
ERROR |
static int |
LOG |
static int |
MINIMUM_LEVEL_FOR_UI |
static int |
TRACE |
static int |
WARN |
Constructor and Description |
---|
RNLog() |
Modifier and Type | Method and Description |
---|---|
static void |
a(java.lang.String message)
Log a warning level message tagged as React Native to the console.
|
static void |
e(ReactContext context,
java.lang.String message)
Log an error level message tagged as React Native to the console and display in the app.
|
static void |
e(java.lang.String message)
Log an error level message tagged as React Native to the console.
|
static void |
l(java.lang.String message)
Log a log level message tagged as React Native to the console.
|
static void |
t(java.lang.String message)
Log a trace level message tagged as React Native to the console.
|
static void |
w(ReactContext context,
java.lang.String message)
Log a warning level message tagged as React Native to the console and display in the app.
|
public static final int MINIMUM_LEVEL_FOR_UI
public static final int LOG
public static final int TRACE
public static final int ADVICE
public static final int WARN
public static final int ERROR
public static void l(java.lang.String message)
message
- The message to log.public static void t(java.lang.String message)
message
- The message to log.public static void a(java.lang.String message)
message
- The message to log.public static void w(ReactContext context, java.lang.String message)
context
- The React context of the application use to display the warning.message
- The message to log.public static void e(ReactContext context, java.lang.String message)
context
- The React context of the application use to display the error.message
- The message to log.public static void e(java.lang.String message)
message
- The message to log.