console log funcion info