Add basic logging functionality