use nl_langinfo for c, x and X format. Adding Z format. Add mutex to loggers hashmap