Disable logging from couchbaselite

mobile
#1

I don’t want to get logs from couchbaselite.
Im using this code:
Database.setLogLevel(.error, domain: .network)

But its not working. How to disable?

#2

Which version? This API was deprecated in 2.5 and is a no-op now on some platforms.

1 Like
#3

Im using 2.0 right now.

#4

If you want to disable logging then you should use log level “none” on domain “all”.

1 Like