renamed to NewGetLogsHandler()

going for a singular-oriented naming convention
split long lines
whitespace
separate REST endpoints for index versus pindex