logging function argument changes and color fixes