no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git] / gfx / 2d / LoggingConstants.h
blobcede5d3e87064948bdb2d3b925a7d14552687ca1
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef MOZILLA_GFX_LOGGING_CONSTANTS_H_
8 #define MOZILLA_GFX_LOGGING_CONSTANTS_H_
10 namespace mozilla {
11 namespace gfx {
13 // Attempting to be consistent with prlog values, but that isn't critical
14 // (and note that 5 has a special meaning - see the description
15 // with LoggingPrefs::sGfxLogLevel)
16 const int LOG_CRITICAL = 1;
17 const int LOG_WARNING = 2;
18 const int LOG_DEBUG = 3;
19 const int LOG_DEBUG_PRLOG = 4;
20 const int LOG_EVERYTHING = 5; // This needs to be the highest value
22 #if defined(DEBUG)
23 const int LOG_DEFAULT = LOG_EVERYTHING;
24 #else
25 const int LOG_DEFAULT = LOG_CRITICAL;
26 #endif
28 } // namespace gfx
29 } // namespace mozilla
31 #endif /* MOZILLA_GFX_LOGGING_CONSTANTS_H_ */