UnCoVer (Using Coverability for Verification)
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
message_logging.h
1 /***************************************************************************
2  * Copyright (C) 2014 by Jan Stückrath <jan.stueckrath@uni-due.de> *
3  * *
4  * This program is free software; you can redistribute it and/or modify *
5  * it under the terms of the GNU General Public License as published by *
6  * the Free Software Foundation; either version 2 of the License, or *
7  * (at your option) any later version. *
8  * *
9  * This program is distributed in the hope that it will be useful, *
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12  * GNU General Public License for more details. *
13  * *
14  * You should have received a copy of the GNU General Public License *
15  * along with this program; if not, write to the *
16  * Free Software Foundation, Inc., *
17  * 51 Franklin St, Fifth Floor, Boston, MA 02110, USA *
18  ***************************************************************************/
19 
20 #ifndef MESSAGE_LOGGING_H_
21 #define MESSAGE_LOGGING_H_
22 
23 #include <ostream>
24 #include "MessageLogger.h"
25 
26 namespace uncover {
27  namespace logging {
28 
32  extern MessageLogger logger;
33 
40  std::ostream& endLogMessage(std::ostream& ost);
41 
42  }
43 }
44 
45 #endif /* MESSAGE_LOGGING_H_ */
std::ostream & endLogMessage(std::ostream &ost)
Causes the current MessageLogger instance to end the current Message.
Definition: message_logging.cpp:25
MessageLogger logger
The main logger for all log messages.