Fixed #9772: Add logging event to allow for plugins to log to custom sources.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@5752 f5dc347c-c33d-0410-90a0-b07cc1902cb9