dotNET Wrapper: Implemented logging support.