Format log
Refacto extract return Type