2 ms·
> you will spend most of your time formatting strings if you do your file I/O asynchronously Which is why good logging systems try to defer as much formatting
by cbsmith 7y ago
> you will spend most of your time formatting strings if you do your file I/O asynchronously
Which is why good logging systems try to defer as much formatting logic as possible until the last possible moment (ideally render time).
I wish more logging frameworks would log in some efficient intermediary serialization format like Cap'nProto or Protobuf.