Package 

Class RNLog


  • 
    public class RNLog
    
                        

    Logging wrapper for FLog with LogBox support.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static int MINIMUM_LEVEL_FOR_UI
      public final static int LOG
      public final static int TRACE
      public final static int ADVICE
      public final static int WARN
      public final static int ERROR
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.
      • e

         static void e(String message)

        Log an error level message tagged as React Native to the console. This error will not be shownin LogBox.

        Parameters:
        message - The message to log.