1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 05:40:11 +01:00
gocsaf/internal/options
Christian Banse e658738b56 Added support for structured logging in csaf_aggretator
This PR adds structured logging for the aggregator service. Currently, only the text handler is used, but I can extend this to use the JSON handler as well. In this case, probably some code that is shared between the aggregator and the downloader would need to be moved to a common package.

I was also wondering, whether this repo is moving to Go 1.21 at the future, since `slog` was introduced in to the standard lib in 1.21. So currently, this still relies on the `x/exp` package.

Fixes #462
2024-04-18 19:58:02 +02:00
..
data Add test for second pass command line passing. 2023-09-25 17:54:35 +02:00
log.go Chance supported minimal Go version back to 1.20 (#514) 2023-11-28 10:37:16 +01:00
log_test.go Chance supported minimal Go version back to 1.20 (#514) 2023-11-28 10:37:16 +01:00
options.go Added support for structured logging in csaf_aggretator 2024-04-18 19:58:02 +02:00
options_test.go Fix copyright headers. Make staticcheck happy. 2023-09-25 21:19:41 +02:00