realm / realm-js

Realm is a mobile database: an alternative to SQLite & key-value stores
https://realm.io
Apache License 2.0
5.62k stars 558 forks source link

Update `Realm.setLogLevel()` API to take 2 arguments #6560

Closed elle-j closed 1 month ago

elle-j commented 2 months ago

The current implementation in main that has not yet been released allows users to pass either LogLevel or LogOptions to Realm.setLogLevel(). To better align across the SDKs, we should update this to:

static setLogLevel(level: LogLevel, category: LogCategory = "Realm"): void;
sync-by-unito[bot] commented 2 months ago

➤ PM Bot commented:

Jira ticket: RJS-2764