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

The data is written to the log file with breaks #810

Open tolstishka opened 2 years ago

tolstishka commented 2 years ago

I use the easylogging++ v9.96.7. My application is running as a service. My OS is Windows Server 2022. The macro ELPP_THREAD_SAFE is defined in Visual Studio 2019: project settings -> configuration properties -> C/C++ -> preprocessor -> preprocessor definitions

Recently I noticed that the data in the log file is written with breaks.
log_writing

I use these simple constructions to send an entry to a log file:
LOG(INFO) << "Service started..."; LOG(INFO) << fmt::format("Selected {0} and {1} files.", files.f.string(), files.r.string()); Tell me, what other settings can I do to fix the entry in the log file?