// // SkipNativeEOL - shows how to skip NativeEOLConverter. // #include #include #include #include #include int main() { // NativeEOLConverter will use on Windows and on everything else as line endings. // It's used by default. // If you want to always use you can skip NativeEOLConverter and specify UTF8Converter directly. static plog::RollingFileAppender fileAppender("SkipNativeEOL.log", 8000, 3); // Create an appender without NativeEOLConverter. plog::init(plog::debug, &fileAppender); // Initialize the logger. // Write some data. for (int i = 0; i < 100; ++i) { PLOGI << "i: " << i; } return 0; }