OSVR-Core
Classes | Namespaces | Typedefs
Logger.h File Reference

Header to include for OSVR-internal usage of the logging mechanism: provides the needed definition of Logger (and includes its dependencies) that is only forward-declared in <osvr/Util/Log.h> More...

#include <osvr/Util/Export.h>
#include <osvr/Util/Log.h>
#include <osvr/Util/LogLevel.h>
#include <initializer_list>
#include <memory>
#include <sstream>
#include <string>

Go to the source code of this file.

Classes

class  osvr::util::log::Logger
 An object allowing you to log messages with a given log source name. More...
 
class  osvr::util::log::Logger::StreamProxy
 An object returned the logging functions (including operator<<), serves to accumulate streamed output in a single ostringstream then write it to the logger at the end of the expression's lifetime. More...
 

Namespaces

 osvr
 The main namespace for all C++ elements of the framework, internal and external.
 
 osvr::util
 The Util library: Functionality not necessarily coupled to any particular core library, serving more as a common base layer behind all systems.
 

Typedefs

using spdlog::sink_ptr = std::shared_ptr< spdlog::sinks::sink >
 
using spdlog::sinks_init_list = std::initializer_list< sink_ptr >
 

Detailed Description

Header to include for OSVR-internal usage of the logging mechanism: provides the needed definition of Logger (and includes its dependencies) that is only forward-declared in <osvr/Util/Log.h>

Date
2016
Author
Sensics, Inc. http://sensics.com