PageObjectLogging.log(
"typeInUserName ",
+ "User name field populated "
+  userName, true, driver
);

Remember about spaces between + and String, put trailing ")" in seperate line