newSession

open fun newSession(@NonNull key: String, @Nullable name: String)

Reuses the existing tree to log to a new log session.

Parameters

key

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

name

An optional name of the session.


open fun newSession(@Nullable profile: String, @NonNull key: String, @Nullable name: String)

Reuses the existing tree to log to a new log session.

Parameters

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.