gecko-dev/dom/media/doctor/DDLogCategory.cpp
Gerald Squelart 83602b8860 Bug 1407810 - DDMOZ_LOG to replace MOZ_LOG and also output to DDLogger - r=jwwang
This macro may be used to replace MOZ_LOG in most files, where it is used in
non-static member functions of classes that are registered with
DDLoggedTypeTraits.

MozReview-Commit-ID: A8DYmGoMv7f

--HG--
extra : rebase_source : 51d24f53a19fcbcbe42faea668256f1804f0abc9
2017-10-13 16:31:28 +11:00

33 lines
865 B
C++

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 et cindent: */
/* 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/. */
#include "DDLogCategory.h"
namespace mozilla {
const char* const kDDLogCategoryShortStrings[kDDLogCategoryCount] = {
"con", "dcn", "des", "lnk", "ulk", "prp", "evt",
"api", "log", "mze", "mzw", "mzi", "mzd", "mzv"
};
const char* const kDDLogCategoryLongStrings[kDDLogCategoryCount] = {
"Construction",
"Derived Construction",
"Destruction",
"Link",
"Unlink",
"Property",
"Event",
"API",
"Log",
"MozLog-Error",
"MozLog-Warning",
"MozLog-Info",
"MozLog-Debug",
"MozLog-Verbose"
};
} // namespace mozilla