Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions common/main/java/com/couchbase/lite/internal/logging/Log.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
import com.couchbase.lite.LogDomain;
import com.couchbase.lite.LogLevel;
import com.couchbase.lite.internal.CouchbaseLiteInternal;
import com.couchbase.lite.internal.utils.Internal;


/**
Expand All @@ -43,6 +44,7 @@
* v: used by core: please do not use in platform coded.
* d: low-level debugging information
*/
@Internal("This class is not part of the public API")
@SuppressWarnings("PMD.TooManyMethods")
public final class Log {
private Log() { } // Utility class
Expand Down Expand Up @@ -119,10 +121,6 @@ public static void i(@NonNull LogDomain domain, @NonNull String msg, @Nullable T
log(LogLevel.INFO, domain, err, msg);
}

public static void info(@NonNull LogDomain domain, @NonNull String msg, @Nullable Throwable err) {
i(domain, msg, err);
}

/**
* Send an INFO message.
*
Expand Down Expand Up @@ -254,7 +252,8 @@ public static void setStandardErrorMessages(@NonNull Map<String, String> stdErrM
errorMessages = Collections.unmodifiableMap(new HashMap<>(stdErrMsgs));
}

private static void log(
/* <Unsupported API> Internal used for testing purpose. */
public static void log(
@NonNull LogLevel level,
@NonNull LogDomain domain,
@Nullable Throwable err,
Expand Down