ICSHWI-16698 Improve logs.
Logs are now separated per API layer instead of single pointer for everyone. Logs can write to file and are thread-safe. Every function has a info and debug log when called. Info just shows that the function was called. Debug shows the arguments when possible.
Added a log test, but need to add another test for API log writing into files. I want to add this after this merge so the branch doesn't grow too much out of scope.