Skip to content

Commit

Permalink
fix: log identity setup record using toString
Browse files Browse the repository at this point in the history
Adds the ability to the RecordStreamLogger to log records of value type
IDENTITY_SETUP using the toString method. This is better than not
logging anything, but means the output is json formatted.
  • Loading branch information
korthout authored and npepinpe committed Nov 27, 2024
1 parent 94053a8 commit 45c112f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ public RecordStreamLogger(final RecordStreamSource recordStreamSource) {
valueTypeLoggers.put(ValueType.GROUP, Object::toString);
valueTypeLoggers.put(ValueType.MAPPING, Object::toString);
valueTypeLoggers.put(ValueType.REDISTRIBUTION, Object::toString);
valueTypeLoggers.put(ValueType.IDENTITY_SETUP, Object::toString);
}

public void log() {
Expand Down

0 comments on commit 45c112f

Please sign in to comment.