Add a minimal library for logging