ronan, Here is a demo package i put together - I've put some annotation notes inside the package.
It's all very basic, but will show you what you need to do.
(this is an example for on error, but you'd do something very similar if you wanted to do some custom loggin on something OnProgress or OnWarning).
Hope that helps.:-D
MCITP: Business Intelligence Developer (2005)