output log to console