Added abiltity to pass in a teardown function. Exposed a logging function.
Added abiltity to pass in a teardown function. Exposed a logging function.
Added ability to pass in a logging function