The Journal app in iOS 18 allows you to log your state of mind directly and includes emotions or moods from the Health app in journaling suggestions. It also has an Insights view to track your writing streaks and a search feature to easily find past entries.