Use log function.