set_log_message_callback method

void set_log_message_callback(
  1. int max_verbosity_level,
  2. NativeCallable<td_log_message_callback> callback
)

Sets the callback called from internal TDLib log. Default the callback is not set.

Implementation

void set_log_message_callback(int max_verbosity_level,
    NativeCallable<def.td_log_message_callback> callback) {
  _rawClient.td_set_log_message_callback(
      max_verbosity_level, callback.nativeFunction);
}