getLogLevel function

LogLevel getLogLevel()

Gets the global logging level.

Implementation

LogLevel getLogLevel() {
  final p = calloc<ffi.Int>();
  cvRun(() => ccore.getLogLevel(p));
  final level = p.value;
  calloc.free(p);
  return LogLevel.fromValue(level);
}