WithLogger sets the logger for the client.
(logger *slog.Logger)
| 78 | |
| 79 | // WithLogger sets the logger for the client. |
| 80 | func WithLogger(logger *slog.Logger) Option { |
| 81 | return func(c *Client) { |
| 82 | c.logger = logger |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | // WithDump tees every byte sent to the caster into w, for offline inspection |
| 87 | // of the exact RTCM stream the caster receives. |
no outgoing calls
searching dependent graphs…