Renamed to ModLogger
Ported to scala
Fixed declaration