From b5e5d8bd3074f4decc5e942291db5c004685c48d Mon Sep 17 00:00:00 2001 From: "altse@chromium.org" Date: Thu, 12 Dec 2013 19:58:00 +0000 Subject: 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 --- src/client/ios/Breakpad.mm | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/client/ios') 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, -- cgit v1.2.1