mirror of
https://github.com/apache/cordova-plugin-file-transfer.git
synced 2026-04-28 00:02:49 +08:00
CB-8351 Use a local copy of DLog macro rather than CordovaLib version
This commit is contained in:
@@ -26,6 +26,14 @@
|
|||||||
#import <AssetsLibrary/ALAssetsLibrary.h>
|
#import <AssetsLibrary/ALAssetsLibrary.h>
|
||||||
#import <CFNetwork/CFNetwork.h>
|
#import <CFNetwork/CFNetwork.h>
|
||||||
|
|
||||||
|
#ifndef DLog
|
||||||
|
#ifdef DEBUG
|
||||||
|
#define DLog(fmt, ...) NSLog((@"%s [Line %d] " fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__)
|
||||||
|
#else
|
||||||
|
#define DLog(...)
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
@interface CDVFileTransfer ()
|
@interface CDVFileTransfer ()
|
||||||
// Sets the requests headers for the request.
|
// Sets the requests headers for the request.
|
||||||
- (void)applyRequestHeaders:(NSDictionary*)headers toRequest:(NSMutableURLRequest*)req;
|
- (void)applyRequestHeaders:(NSDictionary*)headers toRequest:(NSMutableURLRequest*)req;
|
||||||
|
|||||||
Reference in New Issue
Block a user