handle to_s and inspect
- other comments
- use mattr_accessor logger setter