Improved logging methods