Log output improvements
Compare changes
+ 126
− 0
@@ -7,6 +7,7 @@ import (
@@ -21,11 +22,19 @@ import (
@@ -165,25 +174,50 @@ func getLogger() *log.Entry {
@@ -193,32 +227,63 @@ func ErrorWithMsg(message string, err error) {
@@ -246,6 +311,10 @@ func LogRequestInfo(req events.APIGatewayProxyRequest, shouldExcludeBody bool, e
@@ -262,10 +331,20 @@ func LogResponseInfo(req events.APIGatewayProxyRequest, res events.APIGatewayPro
@@ -288,10 +367,22 @@ func LogSQSEvent(event events.SQSEvent) {
@@ -402,3 +493,38 @@ func (f *CustomLogFormatter) Format(entry *log.Entry) ([]byte, error) {