Enable run-time log function