made more functions work only on pointes, to be able to change the logger up the stack.