Changes all log functions to new ones.