Added method Application::log()
Use method isCacheEnabled() in Application::cache()