Added logger factory, get_logger_creator

Allows creating noop log functions so you can have different logs do
different things at run time.