I\'m building a small custom logging function that is an adaptation of C standard code (printf in fact) but using C++ practices. I don\'t have a problem with the actual code