Fixed undefined reference error for the logging class.
Fixed undefeind reference error (but I don't like the solution).