Custom Logger

I want to append custom log attributes like service names or environment.

Is there a way to accomplish this today?

Hi @prashant

Unfortunately no, this is currently not supported. Our logger class can be found here

As you can see, some metadata can be added but only from the caller, so when you call Logger.warn('Message', {metadata: "something"})

Your goal is to add information such as the service names and environment to the metadata part?

Hey @prashant,

Let us know if you’re still stuck and need help :slight_smile: