print log to browser