class ulog::Entry
Overview
#include <Ulog.h>
class Entry: public utils::LogEntry {
public:
// construction
Entry(Type type, Category categ, const std::string& msg, const std::string& caller);
// methods
Category GetCategory() const;
virtual std::string ToString(const std::string& time_format = "%Y-%m-%d %H:%M:%S") const;
};
Detailed Documentation
Methods
virtual std::string ToString(const std::string& time_format = "%Y-%m-%d %H:%M:%S") const
Print the entry to a string.
The string format is “[type] caller: message”.