change signature
pass params to log4net
better null handling