gotosocial/internal/text
Daenney 68e6d08c76
[feature] Add a request ID and include it in logs (#1476)
This adds a lightweight form of tracing to GTS. Each incoming request is
assigned a Request ID which we then pass on and log in all our log
lines. Any function that gets called downstream from an HTTP handler
should now emit a requestID=value pair whenever it logs something.

Co-authored-by: kim <grufwub@gmail.com>
2023-02-17 12:02:29 +01:00
..
emojify.go
emojionly.go [feature] Add a request ID and include it in logs (#1476) 2023-02-17 12:02:29 +01:00
formatter.go
formatter_test.go
goldmark_extension.go [feature] Add a request ID and include it in logs (#1476) 2023-02-17 12:02:29 +01:00
goldmark_plaintext.go
markdown.go [feature] Add a request ID and include it in logs (#1476) 2023-02-17 12:02:29 +01:00
markdown_test.go
minify.go [feature] Add a request ID and include it in logs (#1476) 2023-02-17 12:02:29 +01:00
plain.go [feature] Add a request ID and include it in logs (#1476) 2023-02-17 12:02:29 +01:00
plain_test.go
removehtml_test.go
replace.go [feature] Add a request ID and include it in logs (#1476) 2023-02-17 12:02:29 +01:00
sanitize.go
sanitize_test.go