Package io.micronaut.azure.logging
Class AzureLoggingConfigurationProperties
java.lang.Object
io.micronaut.azure.logging.AzureLoggingConfigurationProperties
@ConfigurationProperties("azure.logging")
public class AzureLoggingConfigurationProperties
extends Object
Configuration for Azure logging.
- Since:
- 5.6
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setDataCollectionEndpoint
(String dataCollectionEndpoint) void
setEnabled
(boolean enabled) void
void
setStreamName
(String streamName)
-
Field Details
-
PREFIX
Prefix.- See Also:
-
-
Constructor Details
-
AzureLoggingConfigurationProperties
public AzureLoggingConfigurationProperties()
-
-
Method Details
-
setEnabled
public void setEnabled(boolean enabled) - Parameters:
enabled
- true if enabled
-
isEnabled
public boolean isEnabled()- Returns:
- true if enabled
-
setDataCollectionEndpoint
- Parameters:
dataCollectionEndpoint
- data collection endpoint URL
-
getDataCollectionEndpoint
- Returns:
- data collection endpoint URL
-
setRuleId
- Parameters:
ruleId
- data collection rule id
-
getRuleId
- Returns:
- data collection rule id
-
setStreamName
- Parameters:
streamName
- stream name
-
getStreamName
- Returns:
- stream name
-