OpcUaCanOpen
CANopen OPC-UA server
UaTraceSink.cpp
Go to the documentation of this file.
1 /* © Copyright CERN, 2015. All rights not expressly granted are reserved.
2  * UaTraceSink.cpp
3  *
4  * Created on: Aug 18, 2015
5  * Author: Benjamin Farnham <benjamin.farnham@cern.ch>
6  * Author: Piotr Nikiel <piotr@nikiel.info>
7  *
8  * This file is part of Quasar.
9  *
10  * Quasar is free software: you can redistribute it and/or modify
11  * it under the terms of the GNU Lesser General Public Licence as published by
12  * the Free Software Foundation, either version 3 of the Licence.
13  *
14  * Quasar 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 Licence for more details.
18  *
19  * You should have received a copy of the GNU Lesser General Public License
20  * along with Quasar. If not, see <http://www.gnu.org/licenses/>.
21  */
22 
23 #include <UaTraceSink.h>
24 #include <uatrace.h>
25 
26 #include <iostream>
27 
28 
30 {
31  std::cout << "UaTraceSink::initialize" << std::endl;
32  return true;
33 }
34 
35 
37 {
38  UaTrace::tError("%s", msg.c_str());
39 }