console.log is a client-side only javascript command


input.data. is server-side only



You can't mix the two.



You can do a gs.log though, then look through your servicenow logs to find what   you're trying to see.