Update Logs.php

changed the param from mode to format