Log producer API which sends messages to be logged to a 'consumer' object, which then prints them to stdout, stderr, files, etc.