Browse Source

IOS-2736 uses defines from toolbox (to DRY)

IOS-2736
Andreas Buff 1 year ago
parent
commit
88544e7c39
1 changed files with 1 additions and 16 deletions
  1. +1
    -16
      pEpObjCAdapter/Logger.h

+ 1
- 16
pEpObjCAdapter/Logger.h View File

@ -14,21 +14,6 @@
#else
#import "PEPToolbox_macOS-Swift.h"
#endif
#define LogInfo(...) [[Log shared] \
logInfoWithMessage:[NSString stringWithFormat:__VA_ARGS__] \
function:[NSString stringWithUTF8String:__FUNCTION__] \
filePath:[NSString stringWithUTF8String:__FILE__] \
fileLine:__LINE__];
#define LogWarn(...) [[Log shared] \
logWarnWithMessage:[NSString stringWithFormat:__VA_ARGS__] \
function:[NSString stringWithUTF8String:__FUNCTION__] \
filePath:[NSString stringWithUTF8String:__FILE__] \
fileLine:__LINE__];
#define LogError(...) [[Log shared] \
logErrorWithMessage:[NSString stringWithFormat:__VA_ARGS__] \
function:[NSString stringWithUTF8String:__FUNCTION__] \
filePath:[NSString stringWithUTF8String:__FILE__] \
fileLine:__LINE__];
#import "PEPLogger.h"
#endif /* Logger_h */

Loading…
Cancel
Save