Ok, so there are some fundamentals that you need to understand... the first is the idea of a "function".
Firstly, a function is simply a re-usable bit of code... Say for example you needed to perform some calculation a bunch of times in your code. Instead of rewriting the same ~10 lines of code in a dozen placed you can instead write a function to perform the calculation and then "call" the function (invoke it) to perform the calculation in those dozen spots.
Next, a function can be WAY more useful if you can pass it some data to work with... So imagine a function that calculates the area of a square (I know that's trivial but bear with me). You COULD have a function which calculates the area of a 2"x2" square but it wouldn't work for a 3"x3" square. Wouldn't it be nice if you could write the function so that you could tell it how big a square? Enter "parameters" - the parameter allows you to pass some data to the function.
Now, "log" is a function of "Console" object. All it does is write <something> to the output window. You can pass a "parameter" to the function (as discussed above) telling it WHAT to output... It's very flexible and has a LOT of options but just think about it as a way to dump some useful debugging information to the output window.