Header for basic internal log reference. To actually log to the produced loggers, include <osvr/Util/Logger.h> More...
#include <osvr/Util/Export.h>
#include <osvr/Util/SharedPtr.h>
#include <osvr/Util/UniquePtr.h>
#include <string>
Go to the source code of this file.
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. | |
Functions | |
bool | osvr::util::log::tryInitializingLoggingWithBaseName (std::string const &baseName) |
Attempt to initialize the logging system with the indicated base filename (will be stripped of all characters outside of [a-zA-Z0-9_]). If it succeeds (because you called it before any logging calls occurred), it returns true. More... | |
LoggerPtr | osvr::util::log::make_logger (const std::string &logger_name) |
void | osvr::util::log::drop (const std::string &logger_name) |
Drops a logger from the registry. More... | |
void | osvr::util::log::dropAll () |
Removes all the registered loggers from the registry. More... | |
void | osvr::util::log::flush () |
For implementations with a centralized logger registry, flush all logger sinks. | |
Header for basic internal log reference. To actually log to the produced loggers, include <osvr/Util/Logger.h>
Definition in file Log.h.