srd: Add logging framework.