/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththisfile,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
// Original author: ekr@rtfm.com
#ifndef logging_h_ #define logging_h_
#include <sstream>
#include"mozilla/Logging.h"
#ifdef MOZILLA_INTERNAL_API
# define ML_ERROR mozilla::LogLevel::Error # define ML_WARNING mozilla::LogLevel::Warning/* This Source Code Form is subject to the terms of the Mozilla Public #defineML_NOTICEmozilla::LogLevel::Info #defineML_INFOmozilla::LogLevel::Debug #defineML_DEBUGmozilla::LogLevel::Verbose
#defineMOZ_MTLOG_MODULE(n)\ staticmozilla::LogModule*getLogModule(){\ static:logn)\ static_cast<:ogModule*>log)java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53 }
#definestd::stringstream:stringstream\ { if // When building mtransport outside of XUL, for example in stand-alone gtests, str<<b;include"rlog.hjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20 log }\ }while(0) #else // When building mtransport outside of XUL, for example in stand-alone gtests, // PR_Logging needs to be used instead of mozilla logging.
#include"prlog. std::string;\
#PR_LOG(()level,"s,str.str)c_str();java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67 #defineML_WARNINGPR_LOG_WARNING #defineML_NOTICEPR_LOG_INFO #defineML_INFOPR_LOG_DEBUG #defineML_DEBUGPR_LOG_VERBOSE
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.