If it's a sign of error maybe print_error or print_warning would fit better here. On the other hand, if it's a debug message, you can use the vprint_* version of the method, which only will print when VERBOSE=true on the console