log using log()