Matthias Andreas Benkard | 692f48d | 2021-08-31 21:06:50 +0200 | [diff] [blame^] | 1 | package eu.mulk.quarkus.googlecloud.jsonlogging; |
| 2 | |
| 3 | import java.util.Collection; |
| 4 | |
| 5 | /** |
| 6 | * A user-supplied provider for {@link Label}s. |
| 7 | * |
| 8 | * <p>Any CDI beans registered under this class are applied to each log entry that is logged. |
| 9 | * |
| 10 | * @see StructuredParameterProvider |
| 11 | */ |
| 12 | public interface LabelProvider { |
| 13 | |
| 14 | /** Provides a collection of {@link Label}s to add to each log entry that is logged. */ |
| 15 | Collection<Label> getLabels(); |
| 16 | } |