JCoz icon indicating copy to clipboard operation
JCoz copied to clipboard

Add logging

Open Byte-Lab opened this issue 9 years ago • 4 comments

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.

Byte-Lab avatar Jul 24 '16 22:07 Byte-Lab

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.

Byte-Lab avatar Jul 31 '16 15:07 Byte-Lab

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.

Byte-Lab avatar Jul 30 '17 00:07 Byte-Lab

Blocked on #17

Byte-Lab avatar Jul 30 '17 19:07 Byte-Lab

@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.

Byte-Lab avatar Oct 10 '19 04:10 Byte-Lab