This repository has been archived by the owner on Dec 12, 2020. It is now read-only.
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
1 parent
5e4918c
commit e4df7e9
Showing
100 changed files
with
376 additions
and
6,250 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
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
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
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
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
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
Binary file not shown.
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
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,10 @@ | ||
// | ||
// DBDefines.h | ||
// DropboxSDK | ||
// | ||
// Created by Brian Smith on 8/8/11. | ||
// Copyright 2011 Dropbox, Inc. All rights reserved. | ||
// | ||
|
||
// Taken from three20 (http://three20.info/) | ||
#define DB_FIX_CATEGORY_BUG(name) @interface DB_FIX_CATEGORY_BUG##name @end @implementation DB_FIX_CATEGORY_BUG##name @end |
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
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,38 @@ | ||
// | ||
// DBLog.h | ||
// Dropbox | ||
// | ||
// Created by Will Stockwell on 11/4/10. | ||
// Copyright 2010 Dropbox, Inc. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
#if !defined(NS_FORMAT_FUNCTION) | ||
#define NS_FORMAT_FUNCTION(F, A) | ||
#endif | ||
|
||
typedef enum { | ||
DBLogLevelInfo = 0, | ||
DBLogLevelAnalytics, | ||
DBLogLevelWarning, | ||
DBLogLevelError, | ||
DBLogLevelFatal | ||
} DBLogLevel; | ||
|
||
typedef void DBLogCallback(DBLogLevel logLevel, NSString *format, va_list args); | ||
|
||
NSString * DBLogFilePath(void); | ||
void DBSetupLogToFile(void); | ||
|
||
NSString* DBStringFromLogLevel(DBLogLevel logLevel); | ||
|
||
|
||
void DBLogSetLevel(DBLogLevel logLevel); | ||
void DBLogSetCallback(DBLogCallback *callback); | ||
|
||
void DBLog(DBLogLevel logLevel, NSString *format, ...) NS_FORMAT_FUNCTION(2,3); | ||
void DBLogInfo(NSString *format, ...) NS_FORMAT_FUNCTION(1,2); | ||
void DBLogWarning(NSString *format, ...) NS_FORMAT_FUNCTION(1,2); | ||
void DBLogError(NSString *format, ...) NS_FORMAT_FUNCTION(1,2); | ||
void DBLogFatal(NSString *format, ...) NS_FORMAT_FUNCTION(1,2); |
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
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
Oops, something went wrong.