Naming server functions for logs
Is it possible to set a name for a server function? For example I see this in my logs:
/_serverFn/35b9306603fe2ea5a6a884ff22be58cf81e52afb4d4ab0edfed5ac694d6c3b52
I understand obfuscation is preferable to some, but personally I'd like to be able to see what server functions are getting called in my logs so I can keep track of when things are getting called more easily2 Replies
multiple-amethystOP•2mo ago
Maybe having an option in createServerFunction({ method?: string, prefix?: string }) then you could have something like
/_serverFn/${prefix}_35b9306603fe2ea5a6a884ff22be58cf81e52afb4d4ab0edfed5ac694d6c3b52