Best I can do to simplify the check(fmt::format)crap is to make a little macro to do the format part.
This commit is contained in:
parent
6710469ee1
commit
f0b04107ab
28 changed files with 108 additions and 108 deletions
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
void Stats::dump(std::string msg)
|
||||
{
|
||||
dbc::log(fmt::format("{}: sum: {}, sumsq: {}, n: {}, "
|
||||
dbc::log($F("{}: sum: {}, sumsq: {}, n: {}, "
|
||||
"min: {}, max: {}, mean: {}, stddev: {}",
|
||||
msg, sum, sumsq, n, min, max, mean(),
|
||||
stddev()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue