Port nuancier to use the logging module instead of prints to stderr