node-lambda-log
node-lambda-log copied to clipboard
Disable JSON logging for development
I completely understand that you should log in JSON format when deployed, but locally during development, even with dev: true
the experience isn't that great because then each log entry spans multiple lines and you quickly loose the overview when trying to read many log statements
Have you maybe considered adding a new output format that is just logging out the plain message?
@ulich I'm actually adding a new configuration option to v4.0.0 that will allow you to customize the output of the log prior to logging it to the terminal when dev
mode is enabled.
I'm hoping to have a few different examples of formatting the logs in the documentation on release but I also hope this will spark some plugins to be created by the community to provide many different options.
Cool. I'm looking forward to this! Thank you