-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Paul Shapiro
committed
Dec 21, 2015
1 parent
4e9c2d1
commit f9aeb07
Showing
11 changed files
with
270 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
// | ||
// WGW_Logging.h | ||
// Whatgoeswith-Backend | ||
// | ||
// Created by Paul Shapiro on 12/20/15. | ||
// Copyright © 2015 Lunarpad Corporation. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
|
||
|
||
#if (DEBUG == 1) | ||
|
||
#define DDLogInfo(...) NSLog(@"%@", [NSString stringWithFormat:@"[DEV_ONLY] 💬 %@", [NSString stringWithFormat:__VA_ARGS__]]) | ||
#define DDLogError(...) NSLog(@"%@", [NSString stringWithFormat:@"[DEV_ONLY] ❌ Error:\t%@", [NSString stringWithFormat:__VA_ARGS__]]) | ||
#define DDLogErrorString(...) NSLog(@"%@", [NSString stringWithFormat:@"[DEV_ONLY] ❌ Error:\t%@", __VA_ARGS__]) | ||
#define DDLogWarn(...) NSLog(@"%@", [NSString stringWithFormat:@"[DEV_ONLY] ⚠️ Warning:\t%@", [NSString stringWithFormat:__VA_ARGS__]]) | ||
#define DDLogWarnString(...) NSLog(@"%@", [NSString stringWithFormat:@"[DEV_ONLY] ⚠️ Warning:\t%@", __VA_ARGS__]) | ||
#define DDLogDo(...) NSLog(@"%@", [NSString stringWithFormat:@"[DEV_ONLY] 🔁 %@", [NSString stringWithFormat:__VA_ARGS__]]) | ||
#define DDLogRead(...) NSLog(@"%@", [NSString stringWithFormat:@"[DEV_ONLY] 🔍 %@", [NSString stringWithFormat:__VA_ARGS__]]) | ||
#define DDLogWrite(...) NSLog(@"%@", [NSString stringWithFormat:@"[DEV_ONLY] 📝 %@", [NSString stringWithFormat:__VA_ARGS__]]) | ||
#define DDLogComplete(...) NSLog(@"%@", [NSString stringWithFormat:@"[DEV_ONLY] ✅ %@", [NSString stringWithFormat:__VA_ARGS__]]) | ||
#define DDLogProfile(...) NSLog(@"%@", [NSString stringWithFormat:@"[DEV_ONLY] ⌚ %@", [NSString stringWithFormat:__VA_ARGS__]]) | ||
#define DDLogDel(...) NSLog(@"%@", [NSString stringWithFormat:@"[DEV_ONLY] ➤ %@", [NSString stringWithFormat:__VA_ARGS__]]) | ||
#define DDLogProxied(...) NSLog(@"%@", [NSString stringWithFormat:@"[DEV_ONLY] ⚡️ %@", [NSString stringWithFormat:__VA_ARGS__]]) | ||
#define DDLogNetworking(...) NSLog(@"%@", [NSString stringWithFormat:@"[DEV_ONLY] 📡 %@", [NSString stringWithFormat:__VA_ARGS__]]) | ||
#define DDLogTodo(...) NSLog(@"%@", [NSString stringWithFormat:@"[DEV_ONLY] 📌 TODO in [%@/%@]:\n%@", self, NSStringFromSelector(_cmd), [NSString stringWithFormat:__VA_ARGS__]]) | ||
|
||
#else | ||
|
||
#define DDLogInfo(...) ((void)0) | ||
#define DDLogError(...) ((void)0) | ||
#define DDLogErrorString(...) ((void)0) | ||
#define DDLogWarn(...) ((void)0) | ||
#define DDLogWarnString(...) ((void)0) | ||
#define DDLogDo(...) ((void)0) | ||
#define DDLogRead(...) ((void)0) | ||
#define DDLogWrite(...) ((void)0) | ||
#define DDLogComplete(...) ((void)0) | ||
#define DDLogProfile(...) ((void)0) | ||
#define DDLogDel(...) ((void)0) | ||
#define DDLogProxied(...) ((void)0) | ||
#define DDLogNetworking(...) ((void)0) | ||
#define DDLogTodo(...) ((void)0) | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// | ||
// WGW_Logging.m | ||
// Whatgoeswith-Backend | ||
// | ||
// Created by Paul Shapiro on 12/20/15. | ||
// Copyright © 2015 Lunarpad Corporation. All rights reserved. | ||
// | ||
|
||
#import "WGW_Logging.h" |
Submodule WGW_Realm
updated
from e3b057 to 3c185e
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
Whatgoeswith.xcodeproj/project.xcworkspace/xcshareddata/Whatgoeswith.xcscmblueprint
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"DVTSourceControlWorkspaceBlueprintPrimaryRemoteRepositoryKey" : "8E2D105CEB1F3AB0CF18E0AF540B7D6D65123B64", | ||
"DVTSourceControlWorkspaceBlueprintWorkingCopyRepositoryLocationsKey" : { | ||
|
||
}, | ||
"DVTSourceControlWorkspaceBlueprintWorkingCopyStatesKey" : { | ||
"8E2D105CEB1F3AB0CF18E0AF540B7D6D65123B64" : 0, | ||
"BB48845202118043E9E8CA20F058DFC9587D07CF" : 0 | ||
}, | ||
"DVTSourceControlWorkspaceBlueprintIdentifierKey" : "103A39D6-B96C-4CDF-9D01-37C3757AE734", | ||
"DVTSourceControlWorkspaceBlueprintWorkingCopyPathsKey" : { | ||
"8E2D105CEB1F3AB0CF18E0AF540B7D6D65123B64" : "Whatgoeswith-iOS\/", | ||
"BB48845202118043E9E8CA20F058DFC9587D07CF" : "Whatgoeswith-iOS\/Modules\/WGW_Realm\/" | ||
}, | ||
"DVTSourceControlWorkspaceBlueprintNameKey" : "Whatgoeswith", | ||
"DVTSourceControlWorkspaceBlueprintVersion" : 204, | ||
"DVTSourceControlWorkspaceBlueprintRelativePathToProjectKey" : "Whatgoeswith.xcodeproj", | ||
"DVTSourceControlWorkspaceBlueprintRemoteRepositoriesKey" : [ | ||
{ | ||
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/bitbucket.org\/pshapiro\/whatgoeswith-ios.git", | ||
"DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git", | ||
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "8E2D105CEB1F3AB0CF18E0AF540B7D6D65123B64" | ||
}, | ||
{ | ||
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/bitbucket.org\/pshapiro\/whatgoeswith-realm.git", | ||
"DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git", | ||
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "BB48845202118043E9E8CA20F058DFC9587D07CF" | ||
} | ||
] | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// | ||
// Whatgoeswith.pch | ||
// Whatgoeswith | ||
// | ||
// Created by Paul Shapiro on 12/21/15. | ||
// Copyright © 2015 Lunarpad Corporation. All rights reserved. | ||
// | ||
|
||
#ifndef Whatgoeswith_h | ||
#define Whatgoeswith_h | ||
|
||
#import <Foundation/Foundation.h> | ||
#import <UIKit/UIKit.h> | ||
|
||
#import "WGW_Logging.h" | ||
|
||
#endif /* Whatgoeswith_h */ |