add LoggingBase.h template for simplified log4cpp logging

Signed-off-by: Peter Hille (png!das-system) <peter@das-system-networks.de>