Functional logging

The external logging function now works properly!  The “build_logger”
method can be called to instantiate a new logger with a rotating log
file.