Added log exporter. Need to add tests.