This seems like debug information, more than info, no? Also, where in the code is this function being used? Or are you using it in the shell primarily?