mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-24 04:46:01 +08:00
Remove dead logging components
This commit is contained in:
@@ -81,11 +81,8 @@ static RKTestFactory *sharedFactory = nil;
|
||||
{
|
||||
[self defineFactory:RKTestFactoryDefaultNamesClient withBlock:^id {
|
||||
__block AFHTTPClient *client;
|
||||
|
||||
RKLogSilenceComponentWhileExecutingBlock(RKlcl_cRestKitNetworkReachability, ^{
|
||||
RKLogSilenceComponentWhileExecutingBlock(RKlcl_cRestKitSupport, ^{
|
||||
client = [AFHTTPClient clientWithBaseURL:self.baseURL];
|
||||
});
|
||||
RKLogSilenceComponentWhileExecutingBlock(RKlcl_cRestKitSupport, ^{
|
||||
client = [AFHTTPClient clientWithBaseURL:self.baseURL];
|
||||
});
|
||||
|
||||
return client;
|
||||
@@ -93,11 +90,8 @@ static RKTestFactory *sharedFactory = nil;
|
||||
|
||||
[self defineFactory:RKTestFactoryDefaultNamesObjectManager withBlock:^id {
|
||||
__block RKObjectManager *objectManager;
|
||||
|
||||
RKLogSilenceComponentWhileExecutingBlock(RKlcl_cRestKitNetworkReachability, ^{
|
||||
RKLogSilenceComponentWhileExecutingBlock(RKlcl_cRestKitSupport, ^{
|
||||
objectManager = [RKObjectManager managerWithBaseURL:self.baseURL];
|
||||
});
|
||||
RKLogSilenceComponentWhileExecutingBlock(RKlcl_cRestKitSupport, ^{
|
||||
objectManager = [RKObjectManager managerWithBaseURL:self.baseURL];
|
||||
});
|
||||
|
||||
return objectManager;
|
||||
|
||||
Reference in New Issue
Block a user