setLogger

Installs or removes an Ackpine logger.

Passing null disables logging.