add tools.log() method in option parser