Log Message: Separate the if statements as clang will result in a string expression and make warning about it.