19 void log(
LogLevel level, std::string_view message,
float fraction)
override;
21 std::string_view value)
override;
23 std::string_view value)
override;
31 std::array<hash_map<std::string, std::string, XXHasher>,
NUM_UPDATES> prevValues;
32 bool suppressMessages =
false;
void updateFiltered(UpdateType type, std::string_view name, std::string_view value) override
Same as update(), but checks that the value for type-name is the same as in the previous call.
void update(UpdateType type, std::string_view name, std::string_view value) override
void setSuppressMessages(bool enable)
void log(LogLevel level, std::string_view message, float fraction) override
Log a message with a certain priority level.
This file implemented 3 utility functions: