Commit 54456aee authored by gabime's avatar gabime

Refactored padding handling in formatter using templates

parent 2a31cdcd
......@@ -82,6 +82,7 @@ private:
std::vector<std::unique_ptr<details::flag_formatter>> formatters_;
std::tm get_time_(const details::log_msg &msg);
template <typename Padder>
void handle_flag_(char flag, details::padding_info padding);
// Extract given pad spec (e.g. %8X)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment