Reputation: 1864
I'm trying to use the pantheios in my C++ project. To be specific, I'm using the stock be.file
back-end to output log into a file. I'm wondering how to limit the size of the log file, so it could be rolled over or overwritten when that limit is exceeded.
Upvotes: 1
Views: 155
Reputation: 5135
Pantheios 1.0.1 beta 214 (latest AFAIK) does not currently support any limitation on file. Here the snippet from bec.file.h
#if 0 /* None of the following are yet supported: */
#define PANTHEIOS_BE_FILE_F_ROLL_ON_SIZE (0x01000000)
...
#endif /* 0 */
Upvotes: 1