2018-11-30 19:52:05 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 11:12:37 +00:00
|
|
|
/* 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/. */
|
2005-11-02 07:33:47 +00:00
|
|
|
|
2005-11-02 17:34:14 +00:00
|
|
|
#ifndef txLog_h__
|
|
|
|
#define txLog_h__
|
2005-11-02 07:33:47 +00:00
|
|
|
|
2015-05-19 18:15:34 +00:00
|
|
|
#include "mozilla/Logging.h"
|
2005-11-02 07:37:13 +00:00
|
|
|
|
|
|
|
class txLog {
|
|
|
|
public:
|
2015-11-23 19:09:25 +00:00
|
|
|
static mozilla::LazyLogModule xpath;
|
|
|
|
static mozilla::LazyLogModule xslt;
|
2005-11-02 07:37:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#define TX_LG_IMPL \
|
2015-11-23 19:09:25 +00:00
|
|
|
mozilla::LazyLogModule txLog::xpath("xpath"); \
|
|
|
|
mozilla::LazyLogModule txLog::xslt("xslt");
|
2005-11-02 07:37:13 +00:00
|
|
|
|
2015-11-23 19:09:25 +00:00
|
|
|
#define TX_LG_CREATE
|
2005-11-02 07:37:13 +00:00
|
|
|
|
2013-11-19 19:52:23 +00:00
|
|
|
#endif
|