Add basic logging functions