Add logging
We currently rely on exceptions and print statements to diagnose issues. We should start using a logger (on both the Java and C++ layers) for easier debugging, and to make the product enterprise ready.
I think we should bump this to a high priority feature once we create the presentation and demo. It's very difficult to debug the profiler without a written log of actions. Not sure what the performance hit would be on the native side, but we should figure out a better way to debug than adding print statements.
We're currently using spdlog (https://github.com/gabime/spdlog) which seems to be working pretty well. I'm leaving this open until we get a better dependency manager because for now I just stuck it in the src/ directory.
Blocked on #17
@streetster I assigned this to you because you submitted 1b6bc01bd3264f72af037d1925ca845c1a27812e (thanks for taking care of that), but feel free to unassign yourself. We have spdlog in the native layer, and now slf4j in the Java layer. If this is ready to be closed, please feel free to do so. Otherwise, we can figure out whatever else needs to be done.