txLog.h (633B)
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 2 /* This Source Code Form is subject to the terms of the Mozilla Public 3 * License, v. 2.0. If a copy of the MPL was not distributed with this 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 5 6 #ifndef txLog_h__ 7 #define txLog_h__ 8 9 #include "mozilla/Logging.h" 10 11 class txLog { 12 public: 13 static mozilla::LazyLogModule xpath; 14 static mozilla::LazyLogModule xslt; 15 }; 16 17 #define TX_LG_IMPL \ 18 mozilla::LazyLogModule txLog::xpath("xpath"); \ 19 mozilla::LazyLogModule txLog::xslt("xslt"); 20 21 #define TX_LG_CREATE 22 23 #endif