how can i get prints same as rcon status in console ? does it requires libcod or there is a default function ?

also how can i make timestamps for rcon commands on log ? not on console log. thx for answers