Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 


Quelle  DDLogCategory.h   Sprache: 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/. */


#ifndef DDLogCategory_h_
#define DDLogCategory_h_

#include "mozilla/Assertions.h"
#include "mozilla/DefineEnum.h"

namespace mozilla {

// Enum used to categorize log messages.
// Those starting with '_' are for internal use only.
MOZ_DEFINE_ENUM_CLASS(DDLogCategory,
                      (_Construction, _DerivedConstruction, _Destruction, _Link,
                       _Unlink, Property, Event, API, Log, MozLogError,
                       MozLogWarning, MozLogInfo, MozLogDebug, MozLogVerbose));

// Corresponding short strings, used as JSON property names when logs are
// retrieved.
extern const charconst kDDLogCategoryShortStrings[kDDLogCategoryCount];

inline const char* ToShortString(DDLogCategory aCategory) {
  MOZ_ASSERT(static_cast<size_t>(aCategory) < kDDLogCategoryCount);
  return kDDLogCategoryShortStrings[static_cast<size_t>(aCategory)];
}

// Corresponding long strings, for use in descriptive UI.
extern const charconst kDDLogCategoryLongStrings[kDDLogCategoryCount];

inline const char* ToLongString(DDLogCategory aCategory) {
  MOZ_ASSERT(static_cast<size_t>(aCategory) < kDDLogCategoryCount);
  return kDDLogCategoryLongStrings[static_cast<size_t>(aCategory)];
}

}  // namespace mozilla

#endif  // DDLogCategory_h_

Messung V0.5
C=94 H=89 G=91

¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Produkte
     Neues von dieser Firma

letze Version des Agenda Kalenders

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

letze Version der Autor Authoringsoftware

     letze Version des Demonstrationsprogramms Goedel
     letze Version des Bille Abgleichprogramms
     Bilder

Jenseits des Üblichen ....
    

Besucher

Besucher

Monitoring

Montastic status badge