Disable logging from couchbaselite

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?

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

1 Like

Im using 2.0 right now.

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