Logger

Covers all main logging functionality among the library.

Properties

Link copied to clipboard
abstract var correlationId: String

correlationId for metadata logs

Functions

Link copied to clipboard
abstract fun log(event: T)

Logs event.

Link copied to clipboard
abstract fun logOnce(event: T)

Log event only one time.

Link copied to clipboard
abstract fun resetSession()

Resets logger session.

Link copied to clipboard
abstract fun setup(context: Context, environment: Environment, identifier: String = BuildConfig.PRODUCT_IDENTIFIER, version: String = BuildConfig.PRODUCT_VERSION)

Prepares logger for the further usage.