5package io.flutter.plugin.common;
7import androidx.annotation.Nullable;
8import io.flutter.BuildConfig;
32 String errorCode, @Nullable String errorMessage, @Nullable Object errorDetails) {
33 String details = (errorDetails !=
null) ?
" details: " + errorDetails :
"";
35 Log.
println(level, tag, errorMessage + details);
42 Log.
println(level, tag,
"method not implemented");
static final boolean DEBUG
static void println(@NonNull int level, @NonNull String tag, @NonNull String message)
void error(String errorCode, @Nullable String errorMessage, @Nullable Object errorDetails)
ErrorLogResult(String tag)
void success(@Nullable Object result)
ErrorLogResult(String tag, int level)