LoggerCpp icon indicating copy to clipboard operation
LoggerCpp copied to clipboard

Adding spaces automatically

Open cristiulian opened this issue 4 years ago • 1 comments

Is there a way to add spaces between entries automatically? For example logger << "Element values:" << 3 << 4 << "." to output something like Element values: 3 4 . instead of Element values:34.

cristiulian avatar Sep 25 '20 16:09 cristiulian

I am not sure if this is what you are looking for. But the Logger is just like std::out

So << 4 << "::" << 3 << ".";

Will seperate it just fine.

KlaasVortex avatar Sep 26 '20 14:09 KlaasVortex