Add logging adapter to defaults. Part of #5.