added C++ streams to logging
make debug log everything