log method

void log({
  1. required int level,
  2. required String message,
  3. List values = const [],
})

Called by other code in the Descope SDK to output log messages.

Implementation

void log({required int level, required String message, List<dynamic> values = const []}) {
  if (level <= this.level) {
    output(level: level, message: message, debug: kDebugMode ? values : const []);
  }
}