Rename function in logging statements