setLogAsyncSeverityMask function

void setLogAsyncSeverityMask(
  1. LogSeverityFlag mask
)

Selects the severities that the library logs on a background thread.

The library logs other severities on the thread that logged them. mask applies to every runtime in the process.

See mln_log_set_async_severity_mask in the C API reference.

Implementation

void setLogAsyncSeverityMask(LogSeverityFlag mask) {
  ensureAbiVersion();
  return _check(
    raw.mln_log_set_async_severity_mask(mask.rawValue, nativeDiagnostic),
  );
}