Merge "Stop Parsing the Command Line in InitLogging"

This commit is contained in:
Rahul Frias
2015-10-02 23:24:17 +00:00
committed by Android (Google) Code Review
3 changed files with 10 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ extern LogPriority g_cutoff;
// This function is supplied for cases where the system layer does not
// initialize logging. This is also needed to initialize logging in
// unit tests.
void InitLogging(int argc, const char* const* argv);
void InitLogging();
void Log(const char* file, int line, LogPriority level, const char* fmt, ...);

View File

@@ -22,11 +22,18 @@
#include "log.h"
#include <utils/Log.h>
/*
* Uncomment the line below if you want to have the LOGV messages to print
* IMPORTANT : this will affect all of CDM
*/
// #define LOG_NDEBUG 0
namespace wvcdm {
LogPriority g_cutoff = LOG_VERBOSE;
void InitLogging(int /* argc */, const char* const* /* argv */) {}
void InitLogging() {}
void Log(const char* /* file */, int /* line */, LogPriority level,
const char* fmt, ...) {

View File

@@ -0,0 +1 @@
// dummy