do `util.inspect` if first arguments is an object; add `on`, `once` for defaultLogger