mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-19 10:46:35 +00:00
Update Readme with new debug log API
This commit is contained in:
@@ -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;`
|
||||
|
||||
<a id="contributing"></a>
|
||||
## 6. Contributing
|
||||
|
||||
@@ -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;`
|
||||
|
||||
<a id="contributing"></a>
|
||||
## 6. Contributing
|
||||
|
||||
Reference in New Issue
Block a user