Add onResume for LoggerComponent