How do I get my FastAPI application's console log in JSON format with a different structure and different fields?
How do I get my FastAPI application's console log in JSON format with a different structure and different fields? Question: I have a FastAPI application where I would like to get the default logs written to the STDOUT with the following data in JSON format: App logs should look like this: { "XYZ": { "log": …