modified the log() method documentation