(parent context.Context, domain, userID string)
| 242 | } |
| 243 | |
| 244 | func EffectiveUserIDLogCtx(parent context.Context, domain, userID string) context.Context { |
| 245 | newCtx := getLogCtx(parent) |
| 246 | newCtx.EffectiveDomain = domain |
| 247 | newCtx.EffectiveUserID = userID |
| 248 | return LogContextWith(parent, &newCtx) |
| 249 | } |
| 250 | |
| 251 | // KeyspaceLogCtx extends the parent context with a fully qualified keyspace (bucket.scope.collection) |
| 252 | func KeyspaceLogCtx(parent context.Context, bucketName, scopeName, collectionName string) context.Context { |
no test coverage detected