public final class AzureIoTHubLogger extends Object implements EventLogger
| Constructor and Description |
|---|
AzureIoTHubLogger(com.microsoft.azure.sdk.iot.device.DeviceClient deviceClient) |
AzureIoTHubLogger(Map<String,Object> props) |
| Modifier and Type | Method and Description |
|---|---|
void |
logEvent(String event,
Map<String,Object> producerConfig) |
void |
shutdown() |
public AzureIoTHubLogger(Map<String,Object> props) throws URISyntaxException, IOException
props - URISyntaxExceptionIOExceptionpublic AzureIoTHubLogger(com.microsoft.azure.sdk.iot.device.DeviceClient deviceClient)
deviceClient - public void logEvent(String event, Map<String,Object> producerConfig)
logEvent in interface EventLoggerpublic void shutdown()
shutdown in interface EventLoggerCopyright © 2017. All rights reserved.