java helper obj to log string