Added ability to pass functions as the sole value and evaluate those
functions, if the logging level is correct.
Added some examples.