-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathdata.yaml
281 lines (219 loc) · 9.43 KB
/
data.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
categories:
- name: General
description: General purpose handlers and integrations.
items:
- name: slog-exp
link: https://github.com/smallnest/slog-exp
description: Individual log files foe levels, Wrapping ReplaceAttr, displaying goroutine id, etc.
- name: slog-multi
link: https://github.com/samber/slog-multi
description: Chaining handlers (pipe, router, fanout, etc).
- name: slog-sampling
link: https://github.com/samber/slog-sampling
description: Drop repetitive log entries.
- name: slog-shim
link: https://github.com/sagikazarmark/slog-shim
description: Backward compatible slog support for Go <1.21.
- name: slogbuffer
link: https://github.com/delicb/slogbuffer
description: Buffer log records until real handler is defined.
- name: slogscope
link: https://github.com/apperia-de/slogscope
description: Package based log levels for more fine grained control over logging behavior in large project.
# Potential new category: Extensions?
- name: sloggen
link: https://github.com/go-simpler/sloggen
description: Generate various helpers.
- name: sloglint
link: https://github.com/go-simpler/sloglint
description: Ensure consistent code style.
- name: Formatting
description: Record and output formatters.
items:
- name: console-slog
link: https://github.com/phsym/console-slog
description: Handler that prints colorized logs, similar to zerolog's console writer output without sacrificing performances.
- name: devslog
link: https://github.com/golang-cz/devslog
description: Format logs for development.
- name: golog
link: https://github.com/primalskill/golog
description: Development, discard and production handlers with sensible formatting.
- name: slog-formatter
link: https://github.com/samber/slog-formatter
description: Common formatters for slog + helpers for building your own.
- name: slogcolor
link: https://github.com/MatusOllah/slogcolor
description: Color handler for log/slog.
- name: slogor
link: https://gitlab.com/greyxor/slogor
description: A colorful slog handler.
- name: slogpfx
link: https://github.com/dpotapov/slogpfx
description: Easily prefix your log messages with attributes from the log record.
- name: tint
link: https://github.com/lmittmann/tint
description: Handler that writes tinted logs.
- name: zlog
link: https://github.com/jeffry-luqman/zlog
description: Handler that writes beautiful, human readable logs.
- name: zlog
link: https://github.com/icefed/zlog
description: Human-friendly output like zap development, json structured logging with more features for slog.
- name: Enrichment
description: Handlers enriching log records.
items:
- name: masq
link: https://github.com/m-mizutani/masq
description: Redact sensitive data in logs.
- name: otelslog
link: https://github.com/go-slog/otelslog
description: Handler attaching OpenTelemetry trace and resource details to logs.
- name: slog-aws-lambda
link: https://github.com/jbleduigou/slog-aws-lambda
description: Handler for AWS Lambda Functions.
- name: slog-context
link: https://github.com/PumpkinSeed/slog-context
description: Attach arbitrary key-value pairs to log records through context.
- name: slog-otel
link: https://github.com/remychantenay/slog-otel
description: Correlation between slog log records and Open-Telemetry traces.
- name: Log forwarding
description: Handlers forwarding logs.
items:
- name: slog-clickhouse
link: https://github.com/smallnest/slog-clickhouse
description: Handler forwarding logs to ClickHouse.
- name: slog-datadog
link: https://github.com/samber/slog-datadog
description: Handler forwarding logs to Datadog.
- name: slogdriver
link: https://github.com/jussi-kalliokoski/slogdriver
description: Handler forwarding logs to Stackdriver / GCP Cloud Logging.
- name: slog-fluentd
link: https://github.com/samber/slog-fluentd
description: Handler forwarding logs to FluentD.
- name: slog-graylog
link: https://github.com/samber/slog-graylog
description: Handler forwarding logs to Graylog.
- name: slog-kafka
link: https://github.com/samber/slog-kafka
description: Handler forwarding logs to Kafka.
- name: slog-logstash
link: https://github.com/samber/slog-logstash
description: Handler forwarding logs to Logstash.
- name: slog-loki
link: https://github.com/samber/slog-loki
description: Handler forwarding logs to Loki.
- name: slog-mattermost
link: https://github.com/samber/slog-mattermost
description: Handler forwarding logs to Mattermost.
- name: slog-microsoft-teams
link: https://github.com/samber/slog-microsoft-teams
description: Handler forwarding logs to Microsoft Teams.
- name: slog-parquet
link: https://github.com/samber/slog-parquet
description: Handler forwarding logs to an object store in parquet format.
- name: slog-pushover
link: https://github.com/SkYNewZ/slog-pushover
description: Handler forwarding logs to Pushover.
- name: slog-rollbar
link: https://github.com/samber/slog-rollbar
description: Handler forwarding logs to Rollbar.
- name: slog-sentry
link: https://github.com/samber/slog-sentry
description: Handler forwarding logs to Sentry.
- name: slog-slack
link: https://github.com/samber/slog-slack
description: Handler forwarding logs to Slack.
- name: slog-syslog
link: https://github.com/samber/slog-syslog
description: Handler forwarding logs to Syslog.
- name: slog-telegram
link: https://github.com/samber/slog-telegram
description: Handler forwarding logs to Telegram.
- name: slog-webhook
link: https://github.com/samber/slog-webhook
description: Handler forwarding logs to a Webhook.
- name: Adapters
description: Adapters for other logging libraries.
items:
- name: go-hclog-slog
link: https://github.com/evanphx/go-hclog-slog
description: Handler adapter for hclog.
- name: gslog
link: https://github.com/maguro/gslog
description: Handler adapter for Google Cloud Logging.
- name: slog-gokit
link: https://github.com/tjhop/slog-gokit
description: Go slog handler adapter for go-kit/log.
- name: slog-logrus
link: https://github.com/samber/slog-logrus
description: Handler adapter for logrus.
- name: slog-zap
link: https://github.com/samber/slog-zap
description: Handler adapter for zap.
- name: slog-zerolog
link: https://github.com/samber/slog-zerolog
description: Handler adapter for zerolog.
- name: zaphandler
link: https://github.com/chanchal1987/zaphandler
description: Handler adapter for Zap.
- name: Integrations
description: "`log/slog` integrations into third-party components."
items:
- name: ginslog
link: https://github.com/FabienMht/ginslog
description: A fully featured Gin middleware.
- name: shclog
link: https://github.com/ValerySidorin/shclog
description: Hclog adapter for slog.
- name: slog-chi
link: https://github.com/samber/slog-chi
description: Chi middleware.
- name: slog-echo
link: https://github.com/samber/slog-echo
description: Echo middleware.
- name: slog-fiber
link: https://github.com/samber/slog-fiber
description: Fiber middleware.
- name: slog-gin
link: https://github.com/samber/slog-gin
description: Gin middleware.
- name: Testing
description: Testing utilities for `log/slog`.
items:
- name: slogassert
link: https://github.com/thejerf/slogassert
description: slog handler for testing slog code logs expected results.
- name: slogt
link: https://github.com/neilotoole/slogt
description: Bridge between Go `testing.T` and `log/slog`.
- name: Resources
description: "Other resources about `log/slog`."
items:
- name: Reference documentation
link: https://pkg.go.dev/log/slog
description:
- name: Introductory blog post
link: https://go.dev/blog/slog
description:
- name: Golang Wiki page
link: https://go.dev/wiki/Resources-for-slog
description:
categories:
- name: Blog posts
description: "Blog posts about `log/slog`."
items: []
- name: Creating slog
description: "Resources documenting the creation of `log/slog`."
items:
- name: Original design proposal
link: https://go.googlesource.com/proposal/+/master/design/56345-structured-logging.md
description:
- name: Initial discussion
link: https://github.com/golang/go/discussions/54763
description:
- name: Proposal issue
link: https://github.com/golang/go/issues/56345
description: