Add logging utility functions