Minimal logging framework