Add thread-safe logging and functionality for non-debug builds.