ibis: change log function as classmethod