Logs
Patchsets
Range Diff ↕ rd-60
1: 57a5727 = 1: 57a5727 refactor: create remote client lib
-: ------- > 2: 67d38ff refactor(log): rm ConnectToLogs
Range Diff ↕ rd-61
1: 57a5727 = 1: 57a5727 refactor: create remote client lib
2: 67d38ff = 2: 67d38ff refactor(log): rm ConnectToLogs
-: ------- > 3: 97084b4 refactor(log): preserve `ConnectToLogs` but make it a convenient proxy
Range Diff ↕ rd-62
1: 57a5727 = 1: 57a5727 refactor: create remote client lib
2: 67d38ff ! 2: 866d44c refactor(log): `ConnectToLogs`
3: 97084b4 < -: ------- refactor(log): preserve `ConnectToLogs` but make it a convenient proxy
Range-diff rd-61
- title
- refactor: create remote client lib
- description
-
Patch equal - old #1
57a5727- new #1
57a5727
- title
- refactor(log): rm ConnectToLogs
- description
-
Patch equal - old #2
67d38ff- new #2
67d38ff
- title
- refactor(log): preserve `ConnectToLogs` but make it a convenient proxy
- description
-
Patch added - old #0
(none)- new #3
97084b4
1: 57a5727 = 1: 57a5727 refactor: create remote client lib
2: 67d38ff = 2: 67d38ff refactor(log): rm ConnectToLogs
-: ------- > 3: 97084b4 refactor(log): preserve `ConnectToLogs` but make it a convenient proxy
old
new
old:
log/log.go
new:log/log.go
var _ io.Writer = (*PubSubLogWriter)(nil) var _ slog.Handler = (*MultiHandler)(nil) + +func ConnectToLogs(ctx context.Context, connectionInfo *pubsub.RemoteClientInfo) (io.Reader, error) { + return pubsub.RemoteSub("sub log-drain -k", ctx, connectionInfo) +}