13
0
livetrax/libs/pbd/pbd/error.h
Robin Gareus 9a4237ba83
Add debug transmitter
This is in preparation to conveniently duplicate debug messages
to Window > Log. For cases where stdout/err is not easily accessible.
2020-10-13 21:27:16 +02:00

33 lines
1.1 KiB
C++

/*
* Copyright (C) 1998-2013 Paul Davis <paul@linuxaudiosystems.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __libpbd_error_h__
#define __libpbd_error_h__
#include "pbd/libpbd_visibility.h"
#include "transmitter.h"
namespace PBD {
LIBPBD_API extern Transmitter debug;
LIBPBD_API extern Transmitter info;
LIBPBD_API extern Transmitter warning;
LIBPBD_API extern Transmitter error;
LIBPBD_API extern Transmitter fatal;
}
#endif // __libpbd_error_h__