refactor!: splitting getLogsByTags to private and public versions
#19158
+727
−410
getLogsByTags to private and public versions
#19158