Skip to content
This repository was archived by the owner on Mar 10, 2022. It is now read-only.

Commit 9f76add

Browse files
committed
Update LogLevel API doc
Updated LogLevel API doc; included more info about DEBUG log level.
1 parent b36d8b5 commit 9f76add

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

shared/src/main/java/com/couchbase/lite/LogLevel.java

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,37 @@
2020
import com.couchbase.lite.internal.support.Log;
2121

2222
/**
23-
* Log level. The default log level for all domains is warning.
24-
* The log levels here are tentative and subject to change.
23+
* Log level.
2524
*/
2625
public enum LogLevel {
26+
/**
27+
* Debug log messages. Only present in debug builds of CouchbaseLite.
28+
*/
2729
DEBUG(Log.C4LOG_DEBUG),
30+
31+
/**
32+
* Verbose log messages.
33+
*/
2834
VERBOSE(Log.C4LOG_VERBOSE),
35+
36+
/**
37+
* Informational log messages.
38+
*/
2939
INFO(Log.C4LOG_INFO),
40+
41+
/**
42+
* Warning log messages.
43+
*/
3044
WARNING(Log.C4LOG_WARN),
45+
46+
/**
47+
* Error log messages. These indicate immediate errors that need to be addressed.
48+
*/
3149
ERROR(Log.C4LOG_ERROR),
50+
51+
/**
52+
* Disabling log messages of a given log domain.
53+
*/
3254
NONE(Log.C4LOG_NONE);
3355

3456
private final int value;

0 commit comments

Comments
 (0)