Skip to content

Commit a06135e

Browse files
authored
Remove verbose logging (#451)
1 parent dd96180 commit a06135e

File tree

5 files changed

+1
-19
lines changed

5 files changed

+1
-19
lines changed

LeanplumSDK/LeanplumSDK/Classes/Internal/LPConstants.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ NS_SWIFT_NAME(Leanplum.Constants)
8484
BOOL _canDownloadContentMidSessionInProduction;
8585
BOOL _isTestMode;
8686
BOOL _isInPermanentFailureState;
87-
BOOL _verboseLoggingInDevelopmentMode;
8887
BOOL _networkActivityIndicatorEnabled;
8988
NSString *_client;
9089
NSString *_sdkVersion;
@@ -107,7 +106,6 @@ NS_SWIFT_NAME(Leanplum.Constants)
107106
@property(strong, nonatomic) NSString *apiServlet;
108107
@property(assign, nonatomic) BOOL isTestMode;
109108
@property(assign, nonatomic) BOOL isInPermanentFailureState;
110-
@property(assign, nonatomic) BOOL verboseLoggingInDevelopmentMode;
111109
@property(strong, nonatomic) NSString *client;
112110
@property(strong, nonatomic) NSString *sdkVersion;
113111
@property(assign, nonatomic) BOOL networkActivityIndicatorEnabled;

LeanplumSDK/LeanplumSDK/Classes/Internal/LPConstants.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ - (id)init {
5454
_canDownloadContentMidSessionInProduction = NO;
5555
_isTestMode = NO;
5656
_isInPermanentFailureState = NO;
57-
_verboseLoggingInDevelopmentMode = NO;
5857
_networkActivityIndicatorEnabled = YES;
5958
_client = LEANPLUM_CLIENT;
6059
_sdkVersion = LEANPLUM_SDK_VERSION;

LeanplumSDK/LeanplumSDK/Classes/Internal/Leanplum.m

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -177,16 +177,6 @@ + (void)setFileHashingEnabledInDevelopmentMode:(BOOL)enabled
177177
LP_END_TRY
178178
}
179179

180-
+ (void)setVerboseLoggingInDevelopmentMode:(BOOL)enabled
181-
{
182-
LP_TRY
183-
[LPConstantsState sharedState].verboseLoggingInDevelopmentMode = enabled;
184-
if (enabled) {
185-
[Leanplum setLogLevel:Debug];
186-
}
187-
LP_END_TRY
188-
}
189-
190180
+ (void)setLogLevel:(LPLogLevel)level
191181
{
192182
LP_TRY

LeanplumSDK/LeanplumSDK/Classes/Leanplum.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -225,11 +225,6 @@ NS_SWIFT_NAME(setSocketHostName(_:port:));
225225
*/
226226
+ (void)setFileHashingEnabledInDevelopmentMode:(BOOL)enabled;
227227

228-
/**
229-
* Sets whether to enable verbose logging in development mode. Default: NO.
230-
*/
231-
+ (void)setVerboseLoggingInDevelopmentMode:(BOOL)enabled;
232-
233228
/**
234229
* Sets log level through the Leanplum SDK
235230
*/

LeanplumSDKApp/LeanplumSDKTests/Classes/Utilities/LeanplumHelper.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ + (void)setup_method_swizzling {
7777
}
7878

7979
+ (void)setup_development_test {
80-
[Leanplum setVerboseLoggingInDevelopmentMode:YES];
80+
[Leanplum setLogLevel:Debug];
8181
[Leanplum setAppId:APPLICATION_ID withDevelopmentKey:DEVELOPMENT_KEY];
8282
}
8383

0 commit comments

Comments
 (0)