add possibility to exclude private members from logging