Next: Return Value
This function instructs PIL to use function 'func' as a new logger
routine. New function will be called whenever PILGetXXX or PILPutXXX
routine fails. The string passed to the new routine (and generated
internally by PIL) usually contains the name of the parameter
for which the PIL routine failed.