sendLog method

  1. @override
Future<void> sendLog({
  1. int line = 0,
  2. String method = "",
  3. String file = "",
  4. LogLevel level = LogLevel.debug,
  5. String tag = "",
  6. String text = "",
})
override

Implementation

@override
Future<void> sendLog(
    {int line = 0,
      String method = "",
      String file = "",
      LogLevel level = LogLevel.debug,
      String tag = "",
      String text = ""}) {
  return _channel.invokeMethod('sendLog', {
    "line": line,
    "method": method,
    "file": file,
    "level": level.index,
    "tag": tag,
    "text": text
  });
}