Logging functions for SA Ruby automation