Rename category to logCategory and use lambda for logs
Lint fix