support integer/pointer pointers
automatically fetch the logging format string
code cleanup