BipedalLocomotion/TextLogging/Logger.h file

Namespaces

namespace BipedalLocomotion
namespace BipedalLocomotion::TextLogging

Classes

class BipedalLocomotion::TextLogging::LoggerFactory
LoggerFactory is an interface that implements the factory paradigm.

Enums

enum class Verbosity: std::underlying_type<spdlog::level::level_enum>::type { Trace = static_cast<std::underlying_type<spdlog::level::level_enum>::type>(spdlog::level::level_enum::trace), Debug = static_cast<std::underlying_type<spdlog::level::level_enum>::type>(spdlog::level::level_enum::debug), Info = static_cast<std::underlying_type<spdlog::level::level_enum>::type>(spdlog::level::level_enum::info), Warn = static_cast<std::underlying_type<spdlog::level::level_enum>::type>(spdlog::level::level_enum::warn), Err = static_cast<std::underlying_type<spdlog::level::level_enum>::type>(spdlog::level::level_enum::err), Critical = static_cast<std::underlying_type<spdlog::level::level_enum>::type>(spdlog::level::level_enum::critical), Off = static_cast<std::underlying_type<spdlog::level::level_enum>::type>(spdlog::level::level_enum::off) }

Typedefs

using Logger = spdlog::logger

Functions

auto log() -> std::shared_ptr<TextLogging::Logger> const
Get an the instance of the log.
void setVerbosity(const TextLogging::Verbosity verbosity)
Set the logger verbosity.

Function documentation

void setVerbosity(const TextLogging::Verbosity verbosity)

Set the logger verbosity.

Parameters
verbosity The desired verbosity level.