move logging to a fluent API