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