The following samples demonstrate use of the logging functions.
It is helpful to run these sample files using a debugger so that you can step through the code to see the function the API is actually providing.