mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-30 05:35:40 +08:00
Enable configuration of logging via environment variables during unit testing
This commit is contained in:
@@ -44,6 +44,9 @@
|
||||
RKLogError(@"Failed to create caches directory. Unable to run tests: %@", error);
|
||||
NSAssert(directoryExists, @"Failed to create caches directory.");
|
||||
}
|
||||
|
||||
// Configure logging from the environment variable. See RKLog.h for details
|
||||
RKLogConfigureFromEnvironment();
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user