Add developer logging
Offset is wasn't used this finishes feature #7
Merge branch 'logging'