nRFLoggerTree

constructor(@NonNull context: Context, @NonNull key: String, @Nullable name: String)

Creates a new instance of nRFLoggerTree.

Parameters

context

The context.

key

The key of the session. Sessions with the same key will be grouped together.

name

An optional name of the session.


constructor(@NonNull context: Context, @Nullable profile: String, @NonNull key: String, @Nullable name: String)

Creates a new instance of nRFLoggerTree.

Parameters

context

The context.

profile

The profile name, which will be concatenated to the app's name in nRF Logger.

key

The key of the session. Sessions with the same key will be grouped together.

name

An optional name of the session.


constructor(@Nullable session: ILogSession)

Creates a new instance of nRFLoggerTree.

Parameters

session

The log session. If null, the logs will be ignored.


constructor(@NonNull context: Context, @Nullable uri: Uri)

Creates a new instance of nRFLoggerTree.

Parameters

context

The context.

uri

The URI of the session. The URI must point to the session in nRF Logger or no.nordicsemi.android.log.localprovider.LocalLogContentProvider session.If null, the logs will be ignored.