The problem with this is that logging isn't free for 99% of deployments and in those 99% of deployments asking the user to do anything more than "add this flag to this thing" is going to be very difficult as well.