Adding logger_printf function