OSVR Framework (Internal Development Docs)  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
LogSinks.cpp
Go to the documentation of this file.
1 
12 // Copyright 2016 Sensics, Inc.
13 //
14 // Licensed under the Apache License, Version 2.0 (the "License");
15 // you may not use this file except in compliance with the License.
16 // You may obtain a copy of the License at
17 //
18 // http://www.apache.org/licenses/LICENSE-2.0
19 //
20 // Unless required by applicable law or agreed to in writing, software
21 // distributed under the License is distributed on an "AS IS" BASIS,
22 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23 // See the License for the specific language governing permissions and
24 // limitations under the License.
25 
26 // Internal Includes
27 #include "LogSinks.h"
28 
29 // Library/third-party includes
30 #include <spdlog/spdlog.h>
31 
32 // Standard includes
33 #include <iostream>
34 
35 namespace osvr {
36 namespace util {
37  namespace log {
38 
39  /*
40  template <typename Mutex>
41  stdout_sink<Mutex>::stdout_sink() :
42  ::spdlog::sinks::ostream_sink<Mutex>(std::cout, true)
43  {
44  // do nothing
45  }
46 
47  template <typename Mutex>
48  stderr_sink<Mutex>::stderr_sink() :
49  ::spdlog::sinks::ostream_sink<Mutex>(std::cerr, true)
50  {
51  // do nothing
52  }
53  */
54 
55  } // end namespace log
56 } // end namespace util
57 } // end namespace osvr
Header.