We should consider to integrate a logging library into VIGRA. There are a few good ones out there, I suppose.