added duplication protection wrapper to utils/logc.h