add attr_reader for logging
update to v0.2.12