allow logger with custom facility, to be used in header files