Seperate logs stream based on the requests/functions

Hi team,

i am not sure if there is a possibility for this, but want to confirm this
I have functions name Siteoperations and the handler is handler: sites/operations.site_handler

    siteOperation:
        handler: sites/operations.site_handler
        timeout: 120
        events:
          - http:
              path: /value/id/operation
              method: post
              private: true

In site_handler function i have defined different operations that is performed the problem is that they all constitute to single log stream siteOperation is there a possibility that i can seperate these logs on CW based on the name of operations.