some logging interfaces