Skip to content

Commit cc122a5

Browse files
committed
Log Current Generator ID
1 parent 3502c8a commit cc122a5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/API.Web/IdGenSetupLogger.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ public void LogIdGenSetup()
2525
_logger.LogInformation("IdGen: Id's/ms total : {IdsPerMillisecondsIntotal}", _idGenerator.Options.IdStructure.MaxGenerators * _idGenerator.Options.IdStructure.MaxSequenceIds);
2626
_logger.LogInformation("IdGen: Wraparound interval : {WraparoundInterval}", _idGenerator.Options.IdStructure.WraparoundInterval(_idGenerator.Options.TimeSource));
2727
_logger.LogInformation("IdGen: Wraparound date : {WraparoundDate}", _idGenerator.Options.IdStructure.WraparoundDate(_idGenerator.Options.TimeSource.Epoch, _idGenerator.Options.TimeSource));
28+
_logger.LogInformation("IdGen: Current Generator ID : {GeneratorId}", _idGenerator.Id);
2829
}
2930
}
3031
}

0 commit comments

Comments
 (0)