diff --git a/xpcom/glue/Logging.h b/xpcom/glue/Logging.h new file mode 100644 index 000000000000..0a5e7597f2f3 --- /dev/null +++ b/xpcom/glue/Logging.h @@ -0,0 +1,20 @@ +/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* vim: set ts=8 sts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +#ifndef mozilla_logging_h +#define mozilla_logging_h + +#include "prlog.h" + +// This file is a placeholder for a replacement to the NSPR logging framework +// that is defined in prlog.h. Currently it is just a pass through, but as +// work progresses more functionality will be swapped out in favor of +// mozilla logging implementations. + +#define MOZ_LOG PR_LOG + +#endif // mozilla_logging_h + diff --git a/xpcom/glue/moz.build b/xpcom/glue/moz.build index 6b4fdd54e9af..fc74af1bbb19 100644 --- a/xpcom/glue/moz.build +++ b/xpcom/glue/moz.build @@ -75,6 +75,7 @@ EXPORTS.mozilla += [ 'FileUtils.h', 'GenericFactory.h', 'IntentionalCrash.h', + 'Logging.h', 'Monitor.h', 'Mutex.h', 'Observer.h',