mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
c5b0f7cd01
With previous import style, the `LOG_ASYNC_ENABLED, LOG_LEVEL_DEF` macros were not being defined. @import style module includes are handled differently in ObjC++, causing problems with out millisecondTimeStamp implementation. Rather than address that problem head on, I simple reimplemented our millisecond timestamp method in objective-c, removing our single ObjC++ file. // FREEBIE
24 lines
638 B
Text
24 lines
638 B
Text
//
|
|
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
#import <Availability.h>
|
|
|
|
#ifdef __OBJC__
|
|
#import <UIKit/UIKit.h>
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@import CocoaLumberjack;
|
|
#ifdef DEBUG
|
|
static const NSUInteger ddLogLevel = DDLogLevelAll;
|
|
#else
|
|
static const NSUInteger ddLogLevel = DDLogLevelInfo;
|
|
#endif
|
|
|
|
#import <SignalServiceKit/Asserts.h>
|
|
#import <SignalServiceKit/Constraints.h>
|
|
#import <SignalServiceKit/OWSAnalytics.h>
|
|
#import <SignalServiceKit/OWSDispatch.h>
|
|
#import <SignalServiceKit/iOSVersions.h>
|
|
#import <SignalServiceKit/NSObject+OWS.h>
|
|
#endif
|