File logging.hpp¶
SLAMcore logging.
Helper functions for slamcore::LogSeverity
-
template<class Archive>
static inline void load_minimal(const Archive&, LogSeverity &obj, const std::string &value)¶
-
template<class Archive>
static inline std::string save_minimal(const Archive&, const LogSeverity &obj)¶
-
static inline std::ostream &operator<<(std::ostream &os, const LogSeverity obj)¶
Typedefs
Enums
-
namespace slamcore
Main namespace for the SLAMcore public API
Helper functions for slamcore::LogSeverity
-
template<class Archive>
static inline void load_minimal(const Archive&, LogSeverity &obj, const std::string &value)¶
-
template<class Archive>
static inline std::string save_minimal(const Archive&, const LogSeverity &obj)¶
-
static inline std::ostream &operator<<(std::ostream &os, const LogSeverity obj)¶
Get information about the client library
Helper conversion methods
slamcore::ImageFormat \(\leftrightarrow\) BytesPerPixel
Typedefs
-
using LogCallbackT = std::function<void(const LogMessageInterface&)>¶
Log callback signature.
Enums
-
class LogMessageInterface
- #include <logging.hpp>
Interface to a log message
Public Functions
-
virtual ~LogMessageInterface() = default
-
virtual LogSeverity getSeverity() const = 0
Return the log message severity
-
virtual host_timestamp getTimestamp() const = 0
Return the log message timestamp
-
virtual const std::string &getMessage() const = 0
Returns the log message content
-
virtual ~LogMessageInterface() = default
-
template<class Archive>