Application logging is part of the Easy Logger pro product. We log usage of all the apps and report on the time spent with each app. This requires access setting on the device. Steps below.
Phone Settings - Security - Apps with usage access - Easy Logger - Toggle On