aboutsummaryrefslogtreecommitdiff
path: root/src/client/ios
diff options
context:
space:
mode:
authoraltse@chromium.org <altse@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2013-12-12 19:58:00 +0000
committeraltse@chromium.org <altse@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2013-12-12 19:58:00 +0000
commitb5e5d8bd3074f4decc5e942291db5c004685c48d (patch)
tree913689a0d32ae6da99a18f07ef45c36c12f18c1e /src/client/ios
parentAdd -[BreakpadController resetConfiguration] for iOS. (diff)
downloadbreakpad-b5e5d8bd3074f4decc5e942291db5c004685c48d.tar.xz
Remove usage of gDebugLog and DEBUGLOG from Mac and iOS client code.
The inconsistent and duplicated references to gDebugLog caused problems building on iOS and the current logging implementation had little utility because it was never activated in debug builds. git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1257 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/ios')
-rw-r--r--src/client/ios/Breakpad.mm15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/client/ios/Breakpad.mm b/src/client/ios/Breakpad.mm
index a0932831..c46509e8 100644
--- a/src/client/ios/Breakpad.mm
+++ b/src/client/ios/Breakpad.mm
@@ -27,15 +27,6 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#define VERBOSE 0
-
-#if VERBOSE
- static bool gDebugLog = true;
-#else
- static bool gDebugLog = false;
-#endif
-
-#define DEBUGLOG if (gDebugLog) fprintf
#define IGNORE_DEBUGGER "BREAKPAD_IGNORE_DEBUGGER"
#import "client/ios/Breakpad.h"
@@ -289,7 +280,6 @@ bool Breakpad::Initialize(NSDictionary *parameters) {
// Check for debugger
if (IsDebuggerActive()) {
- DEBUGLOG(stderr, "Debugger is active: Not installing handler\n");
return true;
}
@@ -368,17 +358,14 @@ bool Breakpad::ExtractParameters(NSDictionary *parameters) {
// The product, version, and URL are required values.
if (![product length]) {
- DEBUGLOG(stderr, "Missing required product key.\n");
return false;
}
if (![version length]) {
- DEBUGLOG(stderr, "Missing required version key.\n");
return false;
}
if (![urlStr length]) {
- DEBUGLOG(stderr, "Missing required URL key.\n");
return false;
}
@@ -530,8 +517,6 @@ NSDictionary *Breakpad::GenerateReport(NSDictionary *server_parameters) {
//=============================================================================
bool Breakpad::HandleMinidump(const char *dump_dir,
const char *minidump_id) {
- DEBUGLOG(stderr, "Breakpad: a minidump has been created.\n");
-
config_file_.WriteFile(dump_dir,
config_params_,
dump_dir,