gaia print function implement.