-
- Downloads
logger: remove _log_buffer from Logger, initialize it in the writer instead
it's not used in the logger, so don't store it there. It is accessed via LogWriter::write. This also makes sure the buffer size is >= _min_write_chunk and handles allocation failure properly.
Showing
- src/modules/logger/log_writer.cpp 22 additions, 4 deletionssrc/modules/logger/log_writer.cpp
- src/modules/logger/log_writer.h 10 additions, 5 deletionssrc/modules/logger/log_writer.h
- src/modules/logger/logger.cpp 6 additions, 4 deletionssrc/modules/logger/logger.cpp
- src/modules/logger/logger.h 1 addition, 2 deletionssrc/modules/logger/logger.h
Loading
Please register or sign in to comment