2 * Copyright (C) : 2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015
3 * European Synchrotron Radiation Facility
4 * BP 220, Grenoble 38043
7 * This file is part of Tango.
9 * Tango is free software: you can redistribute it and/or modify
10 * it under the terms of the GNU Lesser General Public License as published by
11 * the Free Software Foundation, either version 3 of the License, or
12 * (at your option) any later version.
14 * Tango is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU Lesser General Public License for more details.
19 * You should have received a copy of the GNU Lesser General Public License
20 * along with Tango. If not, see <http://www.gnu.org/licenses/>.
24 * by NL - SOLEIL - 01/2003.
30 #ifndef _COUT_APPENDER_H_
31 #define _COUT_APPENDER_H_
33 #if defined(TANGO_HAS_LOG4TANGO)
37 class CoutAppender
: public log4tango::LayoutAppender
43 CoutAppender (const std::string
& name
);
48 virtual ~CoutAppender ();
53 inline virtual bool reopen() {
60 inline virtual void close() {
68 virtual int _append (const log4tango::LoggingEvent
& event
);
73 #endif // _COUT_APPENDER_H_
75 #endif // TANGO_HAS_LOG4TANGO