EDMI.API: improve logging
This commit is contained in:
parent
f5ec035772
commit
ddeb96824d
@ -106,6 +106,8 @@ Public Class Client
|
||||
Dim oAddress = New EndpointAddress($"net.tcp://{IPAddress}:{PortNumber}/DigitalData/Services/Main")
|
||||
Dim oFactory = New ChannelFactory(Of IEDMIServiceChannel)(oBinding, oAddress)
|
||||
|
||||
Logger.Debug("Connecting to Service at: [{0}]", oAddress)
|
||||
|
||||
ChannelFactory = oFactory
|
||||
Catch ex As Exception
|
||||
Logger.Error(ex)
|
||||
@ -122,6 +124,7 @@ Public Class Client
|
||||
|
||||
Logger.Debug("Opening channel..")
|
||||
Channel.Open()
|
||||
|
||||
Dim oResponse = Channel.GetClientConfig()
|
||||
If oResponse.OK Then
|
||||
ClientConfig = oResponse.ClientConfig
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user