add a generic buffer object to help with revamping the logger