Support name prefix formatting

Now optionally adds [NAME] to the prefix of logs, to assist with
identification of the source of a log record.

Signed-off-by: Daniel Farina <daniel@fdr.io>