Simple logging utility