-
public class RNLog
Logging wrapper for FLog with LogBox support.
-
-
Method Summary
Modifier and Type Method Description static void
l(String message)
Log a log level message tagged as React Native to the console. static void
t(String message)
Log a trace level message tagged as React Native to the console. static void
a(String message)
Log a warning level message tagged as React Native to the console. static void
w(ReactContext context, String message)
Log a warning level message tagged as React Native to the console and display in the app. static void
e(ReactContext context, String message)
Log an error level message tagged as React Native to the console and display in the app. static void
e(String message)
Log an error level message tagged as React Native to the console. -
-
Method Detail
-
l
static void l(String message)
Log a log level message tagged as React Native to the console.
- Parameters:
message
- The message to log.
-
t
static void t(String message)
Log a trace level message tagged as React Native to the console.
- Parameters:
message
- The message to log.
-
a
static void a(String message)
Log a warning level message tagged as React Native to the console. This warning will not beshown in LogBox.
- Parameters:
message
- The message to log.
-
w
static void w(ReactContext context, String message)
Log a warning level message tagged as React Native to the console and display in the app.
- Parameters:
context
- The React context of the application use to display the warning.message
- The message to log.
-
e
static void e(ReactContext context, String message)
Log an error level message tagged as React Native to the console and display in the app.
- Parameters:
context
- The React context of the application use to display the error.message
- The message to log.
-
-
-
-