Change log() to public