From 8bcd798e2dcf8d931bad91bf963dca01f5f3e8ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Spie=C3=9F?= Date: Tue, 26 Apr 2016 22:13:21 +0200 Subject: [PATCH] Update Readme with new debug log API --- README.md | 4 ++-- docs/Guide-Installation-Setup-template.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ca0d26f19d..ad8f715a40 100644 --- a/README.md +++ b/README.md @@ -511,7 +511,7 @@ To check if data is send properly to HockeyApp and also see some additional SDK ```objectivec [[BITHockeyManager sharedHockeyManager] configureWithIdentifier:@"APP_IDENTIFIER"]; -[[BITHockeyManager sharedHockeyManager] setDebugLogEnabled:YES]; +[BITHockeyManager sharedHockeyManager].logLevel = BITLogLevelDebug; [[BITHockeyManager sharedHockeyManager] startManager]; ``` @@ -539,7 +539,7 @@ Our documentation can be found on [HockeyApp](http://hockeyapp.net/help/sdk/ios/ Enable debug output to the console to see additional information from the SDK initializing the modules, sending and receiving network requests and more by adding the following code before calling `startManager`: - `[[BITHockeyManager sharedHockeyManager] setDebugLogEnabled: YES];` + `[BITHockeyManager sharedHockeyManager].logLevel = BITLogLevelDebug;` ## 6. Contributing diff --git a/docs/Guide-Installation-Setup-template.md b/docs/Guide-Installation-Setup-template.md index f312da4f02..a08fdce4a6 100644 --- a/docs/Guide-Installation-Setup-template.md +++ b/docs/Guide-Installation-Setup-template.md @@ -491,7 +491,7 @@ To check if data is send properly to HockeyApp and also see some additional SDK ```objectivec [[BITHockeyManager sharedHockeyManager] configureWithIdentifier:@"APP_IDENTIFIER"]; -[[BITHockeyManager sharedHockeyManager] setDebugLogEnabled:YES]; +[BITHockeyManager sharedHockeyManager].logLevel = BITLogLevelDebug; [[BITHockeyManager sharedHockeyManager] startManager]; ``` @@ -519,7 +519,7 @@ Our documentation can be found on [HockeyApp](http://hockeyapp.net/help/sdk/ios/ Enable debug output to the console to see additional information from the SDK initializing the modules, sending and receiving network requests and more by adding the following code before calling `startManager`: - `[[BITHockeyManager sharedHockeyManager] setDebugLogEnabled: YES];` + `[BITHockeyManager sharedHockeyManager].logLevel = BITLogLevelDebug;` ## 6. Contributing