abumq / easyloggingpp

C++ logging library. It is extremely powerful, extendable, light-weight, fast performing, thread and type safe and consists of many built-in features. It provides ability to write logs in your own customized format. It also provide support for logging your classes, third-party libraries, STL and third-party containers etc.
MIT License
3.75k stars 918 forks source link

make AutoSpacing ignore modifiers #841

Open yalov opened 1 year ago

yalov commented 1 year ago

if
el::Loggers::addFlag(el::LoggingFlag::AutoSpacing); then
LOG(INFO) << "speed:" << std::fixed << std::setprecision(2) << 5.33333 << "m/s";

create spaces also for the format modifiers.

It is, probably, undesired behavior.