This will allow setting non-global logging callbacks, that are different for each encoder or decoder instance.