couchbaselabs / mobile-dart-flutter-plugin

1 stars 0 forks source link

Req - 19: Database.logging #20

Closed Fujio-Turner closed 3 months ago

Fujio-Turner commented 11 months ago

WEB: Database.logging …scope out what level of logging we How CBL light docs https://docs.couchbase.com/mobile/3.1.1/couchbase-lite-swift/Structs/DatabaseConfiguration.html

Sample of PLUGIN-Logging

cbl.dart.log(stop_watch_start())
try:
      db.save(key,json)
      cb.dart.log(date_time(),stop_watch_end())
except as e:
     cb.dart.log(date_time(),stop_watch_end(),e)
     return "Error: to plugin user"

MOBILE: https://docs.couchbase.com/mobile/3.0.15/couchbase-lite-c/C/html/group__logging.html

Fujio-Turner commented 9 months ago

Lets keep the same naming so it doesn't confuse. people.

https://docs.couchbase.com/mobile/3.1.3/couchbase-lite-swift/Enums/LogLevel.html