Removed custom logging function.