header-only logger + image save