Refactor a bit AssureTimeMonocity in Log.cs. Added unit test.