Rate this page:

Logger

This API is in beta and subject to change.

Logging interface for Voximplant SDK.

Methods

log

Copy URL
fun log(level: 

LogLevel

,
threadId:

Int

,
time:

Date

,
message:

String

,
throwable:

Throwable?

):

Unit

This API is in beta and subject to change.

Log message with the specified level.

Parameters

  • level:

    LogLevel

    Log level

  • threadId:

    Int

    Thread id of the thread that logged the message

  • time:

    Date

    Time of the log message

  • message:

    String

    Log message

  • throwable:

    Throwable?

    Optional

Returns

  • type:

    Unit