Remove LOG statements from linux utilities so there's no dependency on log library

A=Zhurun
R=nealsid




git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@604 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
nealsid 2010-05-27 19:37:24 +00:00
parent b0059c54da
commit 8e3c63b7f9
3 changed files with 33 additions and 26 deletions

View file

@ -28,9 +28,11 @@
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "common/linux/google_crashdump_uploader.h"
#include "third_party/linux/include/glog/logging.h"
#include "third_party/linux/include/gflags/gflags.h"
#include <string>
#include <iostream>
using std::string;
DEFINE_string(crash_server, "http://clients2.google.com/cr",
"The crash server to upload minidumps to.");
@ -75,7 +77,7 @@ bool CheckForRequiredFlagsOrDie() {
}
if (!error_text.empty()) {
LOG(ERROR) << error_text;
std::cout << error_text;
return false;
}
return true;