Implementation. More...
#include "LogSinks.h"
#include <osvr/Util/GetEnvironmentVariable.h>
#include <osvr/Util/Log.h>
#include <osvr/Util/Logger.h>
#include <osvr/Util/LogConfig.h>
#include <osvr/Util/PlatformConfig.h>
#include <boost/filesystem.hpp>
#include <spdlog/spdlog.h>
#include <memory>
#include <string>
Go to the source code of this file.
Namespaces | |
osvr | |
< | |
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 | |
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. | |
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... | |
std::string | osvr::util::log::getLoggingDirectory (bool make_dir=false) |