@@ -13,22 +13,22 @@ import com.facebook.react.bridge.ReactContext
13
13
import com.facebook.react.common.ReactConstants
14
14
15
15
/* * Logging wrapper for FLog with LogBox support. */
16
- object RNLog {
16
+ public object RNLog {
17
17
18
- const val MINIMUM_LEVEL_FOR_UI = Log .WARN
19
- const val LOG = Log .VERBOSE
20
- const val TRACE = Log .DEBUG
21
- const val ADVICE = Log .INFO
22
- const val WARN = Log .WARN
23
- const val ERROR = Log .ERROR
18
+ public const val MINIMUM_LEVEL_FOR_UI : Int = Log .WARN
19
+ public const val LOG : Int = Log .VERBOSE
20
+ public const val TRACE : Int = Log .DEBUG
21
+ public const val ADVICE : Int = Log .INFO
22
+ public const val WARN : Int = Log .WARN
23
+ public const val ERROR : Int = Log .ERROR
24
24
25
25
/* *
26
26
* Log a log level message tagged as React Native to the console.
27
27
*
28
28
* @param message The message to log.
29
29
*/
30
30
@JvmStatic
31
- fun l (message : String ) {
31
+ public fun l (message : String ) {
32
32
FLog .i(ReactConstants .TAG , message)
33
33
}
34
34
@@ -38,7 +38,7 @@ object RNLog {
38
38
* @param message The message to log.
39
39
*/
40
40
@JvmStatic
41
- fun t (message : String ) {
41
+ public fun t (message : String ) {
42
42
FLog .i(ReactConstants .TAG , message)
43
43
}
44
44
@@ -49,7 +49,7 @@ object RNLog {
49
49
* @param message The message to log.
50
50
*/
51
51
@JvmStatic
52
- fun a (message : String ) {
52
+ public fun a (message : String ) {
53
53
FLog .w(ReactConstants .TAG , " (ADVICE)$message " )
54
54
}
55
55
@@ -60,7 +60,7 @@ object RNLog {
60
60
* @param message The message to log.
61
61
*/
62
62
@JvmStatic
63
- fun w (context : ReactContext ? , message : String ) {
63
+ public fun w (context : ReactContext ? , message : String ) {
64
64
logInternal(context, message, WARN )
65
65
FLog .w(ReactConstants .TAG , message)
66
66
}
@@ -72,7 +72,7 @@ object RNLog {
72
72
* @param message The message to log.
73
73
*/
74
74
@JvmStatic
75
- fun e (context : ReactContext ? , message : String ) {
75
+ public fun e (context : ReactContext ? , message : String ) {
76
76
logInternal(context, message, ERROR )
77
77
FLog .e(ReactConstants .TAG , message)
78
78
}
@@ -84,7 +84,7 @@ object RNLog {
84
84
* @param message The message to log.
85
85
*/
86
86
@JvmStatic
87
- fun e (message : String ) {
87
+ public fun e (message : String ) {
88
88
FLog .e(ReactConstants .TAG , message)
89
89
}
90
90
0 commit comments