couchbase-lite-core
couchbase-lite-core copied to clipboard
CBL-5726: LiteCore should hold the names of its log domains
Most log domains are generated from inside the library with literal string names. The are held by the language. For domains created via c4log_getDomain, we will hold the name in class LogDomain.
Also fixed a bug in test "LogEncoder levels/domains."
Code Coverage Results:
| Type | Percentage |
|---|---|
| branches | 68.34 |
| functions | 79.3 |
| instantiations | 35.33 |
| lines | 78.91 |
| regions | 75.57 |