logger.h
Go to the documentation of this file.
1 /*
2  * Copyright 2019 The urg_stamped Authors
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #ifndef SCIP2_LOGGER_H
18 #define SCIP2_LOGGER_H
19 
20 #include <iostream>
21 
22 namespace scip2
23 {
24 namespace logger
25 {
26 void setDebugLogger(std::ostream* l);
27 void setInfoLogger(std::ostream* l);
28 void setWarnLogger(std::ostream* l);
29 void setErrorLogger(std::ostream* l);
30 void setFatalLogger(std::ostream* l);
31 std::ostream& debug();
32 std::ostream& info();
33 std::ostream& warn();
34 std::ostream& error();
35 std::ostream& fatal();
36 } // namespace logger
37 } // namespace scip2
38 
39 #endif // SCIP2_LOGGER_H
void setErrorLogger(std::ostream *l)
Definition: logger.cpp:84
void setInfoLogger(std::ostream *l)
Definition: logger.cpp:76
std::ostream & info()
Definition: logger.cpp:97
std::ostream & fatal()
Definition: logger.cpp:109
void setDebugLogger(std::ostream *l)
Definition: logger.cpp:72
std::ostream & debug()
Definition: logger.cpp:93
void setWarnLogger(std::ostream *l)
Definition: logger.cpp:80
std::ostream & warn()
Definition: logger.cpp:101
void setFatalLogger(std::ostream *l)
Definition: logger.cpp:88
std::ostream & error()
Definition: logger.cpp:105


urg_stamped
Author(s): Atsushi Watanabe
autogenerated on Tue May 11 2021 02:14:05