Skip to content

Commit

Permalink
Use LogRecord
Browse files Browse the repository at this point in the history
  • Loading branch information
gcotelli committed Feb 28, 2024
1 parent 44bc042 commit 446e113
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/Stargate-Consul/ConsulServiceDiscoveryPlugin.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ ConsulServiceDiscoveryPlugin >> initializeWith: configurationOptions [
{ #category : #private }
ConsulServiceDiscoveryPlugin >> logDeregistrationFailedAtAttempt: attemptNumber dueTo: error [

LaunchpadLogRecord emitError:
LogRecord emitError:
('Attempt #<1p>/<2p> to deregister service in Consul Agent failed: <3s>'
expandMacrosWith: attemptNumber
with: self retryCount + 1
Expand All @@ -119,7 +119,7 @@ ConsulServiceDiscoveryPlugin >> logDeregistrationFailedAtAttempt: attemptNumber
{ #category : #private }
ConsulServiceDiscoveryPlugin >> logRegistrationFailedAtAttempt: attemptNumber dueTo: error [

LaunchpadLogRecord emitError:
LogRecord emitError:
('Attempt #<1p>/<2p> to register service in Consul Agent failed: <3s>'
expandMacrosWith: attemptNumber
with: self retryCount + 1
Expand Down

0 comments on commit 446e113

Please sign in to comment.