Merge pull request #1253 from realm/cp/more-log-levels

Allow all log levels in Realm.Sync.setLogLevel()
This commit is contained in:
blagoev 2017-08-29 15:15:36 +03:00 committed by GitHub
commit f7bf9df6e5
1 changed files with 1 additions and 1 deletions

2
lib/index.d.ts vendored
View File

@ -314,7 +314,7 @@ declare namespace Realm.Sync {
function addListener(serverURL: string, adminUser: Realm.Sync.User, regex: string, name: string, changeCallback: (changeEvent: ChangeEvent) => void): void;
function removeAllListeners(name?: string): void;
function removeListener(regex: string, name: string, changeCallback: (changeEvent: ChangeEvent) => void): void;
function setLogLevel(logLevel: 'error' | 'info' | 'debug'): void;
function setLogLevel(logLevel: 'all' | 'trace' | 'debug' | 'detail' | 'info' | 'warn' | 'error' | 'fatal' | 'off'): void;
function setAccessToken(accessToken: string): void;
type Instruction = {