fixed convenience method for varargs
made logger instance variable instead of static