fix docblock and add getLogger