Make log functions static.